Create an end-user
Changed onCreates an end-user.
Request
- Base URLhttps://api.conductor.is/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"companyName": "Acme Inc.",
"sourceId": "12345678-abcd-abcd-example-1234567890ab",
"email": "alice@acme.com"
}Response
Returns the end-user object after successful end-user creation.
Example response
{
"id": "end_usr_1234567abcdefg",
"objectType": "end_user",
"createdAt": "2024-01-01T12:34:56.789Z",
"companyName": "Acme Inc.",
"sourceId": "12345678-abcd-abcd-example-1234567890ab",
"email": "bob@acme.com",
"integrationConnections": [
{
"id": "int_conn_1234567abcdefg",
"objectType": "integration_connection",
"createdAt": "2024-01-01T12:34:56.789Z",
"lastRequestAt": "2024-01-01T12:34:56.789Z",
"lastSuccessfulRequestAt": "2024-01-01T12:34:56.789Z"
}
]
}Changes
- breaking
response property
integrationConnections/items/lastRequestAtlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
integrationConnections/items/lastSuccessfulRequestAtlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200
- breaking
- breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - info
removed the pattern
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$from the request property - info
response property
integrationConnections/items/lastRequestAtlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
integrationConnections/items/lastSuccessfulRequestAtlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200
- breaking