Wiki

To update user profile from third-party applications you need to make HTTP POST request to Personyze like this:

curl --data '[["user_id", 1, "User profile", "First Name", "John"]]' 'https://api:0011223344556677889900112233445566778899@app.personyze.com/rest/do'
  • HTTP authorization username must be "api".
  • HTTP authorization password ("0011223344556677889900112233445566778899" in example) is your secret API key. You can obtain API key for your account here.
  • Send JSON array as POST body. You can include "Content-Type: application/json" header for clarity, but Personyze doesn't require it.
  • The JSON array includes commands, that are also arrays. Each command looks like this: [KEY_NAME, KAE_VALUE, "User profile", PROFILE_FIELD_NAME_1, PROFILE_FIELD_VALUE_1, PROFILE_FIELD_NAME_2, PROFILE_FIELD_VALUE_2, ...]
  • KEY_NAME can be "user_id" (Personyze User Id), "internal_id" (User Id in your database, that is also stored in Personyze) or "email".
  • You can pass several commands to update several users at once, like [["user_id", 1, "User profile", "First Name", "John"], ["user_id", 2, "User profile", "First Name", "Mary"]]
  • If specified user doesn't exist, it will be created.
©2008-2023 All rights reserved. Personyze® is a registered trademark. Privacy Policy. Terms of Use.