API for synchronizing user data.
/v1/user-sync
https://api.wazper.com/v1/user-sync
POST
Header | Type | Required | Description |
---|---|---|---|
X-API-Key | String | Yes | Your Wazper API Key. |
Content-Type | String | Yes | Must be application/json . |
Accept | String | No | Recommended application/json . |
user
object.
Field | Type | Required | Description |
---|---|---|---|
email | String | Yes | The user’s email address. This is used as the primary identifier for creating or updating the user. |
country | String | Yes | The user’s country. This needs to be a country name, if you are using the API, you need to provide this Information accurately to get accurate results. |
firstName | String | No | The user’s first name. |
lastName | String | No | The user’s last name. |
name | String | No | The user’s full name. If firstName and lastName are provided, they will be concatenated if name is not. |
jobTitle | String | No | The user’s job title. |
inviteLink | String | No | A custom invite link for the user. If not provided, the client’s default invite link may be used. (in the case where you have an invitation link per user that can be used by his colleagues). |
country
recognition using the IP of the user for example and pass the name of the country to the API.Request accepted for asynchronous processing.
The response is of type object
.