Users
Create a user
Creates a new User object.
post/accounts/{account_id}/users
Path parameters
account_idstring required
The account for which the user should be created.
Example:acct_01j9a43avnfqzbjfch6pygv1td
Request body
Example request
{
"first_name": "Brian",
"last_name": "O'Conner",
"metadata": {
"email": "boconner@toretti.family",
"user_id": "1234"
},
"photo_url": "https://toretti.family/people/brian.jpg"
}Response
Created user
Example response
{
"first_name": "Brian",
"id": "usr_01j9dwavghe1ttppewekjjkfrx",
"last_name": "O'Conner",
"metadata": {
"email": "boconner@toretti.family",
"user_id": "1234"
},
"photo_url": "https://toretti.family/people/brian.jpg"
}