POST
/
api
/
create_end_user
/

The End User API is now deprecated and has been replaced by the Customer API.

This endpoint gets or creates an end user. If the provided_id does not exist for the provided customer_id, a new end user will be created and information about the user will be sent back. If the provided_id does exist for the customer_id, the existing user will be returned.

Body

provided_id
string
required

The ID you use to identify this end user in your database

email
string
required

The email adress of your end user

customer_id
number
required

The ID of the end user group the new user should belong to

attributes
object

A json mapping of key values you can use to load user-specific data into your dashboards. Any key value is valid, but header and footer are reserved keys that you can use to load html to display in the header and footer of your email

Response

success
number

Indicates whether the call was successful. 1 if successful, 0 if not.

end_user
object

The data of the end user