Create Contact
Create a contact.
JWT Bearer Authorization
The CodeMash API version used to fetch data from the API. If not specified, the last version will be used. E.g.: v3
Create a contact
Primary email address of the contact (optional if a phone is given).
Primary phone number in international format, e.g. +14155550123 (optional if an email is given).
Display name shown in the dashboard (optional).
Contact's first name (optional).
Contact's last name (optional).
ID of your project. Can be passed in a header as norbix-project-id.
Target environment for this request (e.g. TEST, STAGING). Optional β when omitted the request runs against PROD. Can be passed in a header as norbix-env.
Specify culture code when your response from the API should be localised. E.g.: en
TimeZone
CorrelationId for each request
OK
POST /{version}/membership/users HTTP/1.1
Host: hub.norbix.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 244
{
"primaryEmail": "text",
"primaryPhone": "text",
"displayName": "text",
"firstName": "text",
"lastName": "text",
"projectId": "text",
"env": "text",
"resolvedEnv": {
"value": "text",
"isProd": true
},
"cultureCode": "text",
"timeZoneId": "text",
"correlationId": "text"
}OK
{
"responseStatus": {
"isSuccess": true
}
}In the dashboard
Use it from code
Last updated