- OrgName and ApiKey: issued by Noyax.
- User ID (
X-UserID): the Noyax user the requests are made on behalf of. - Company ID (
X-CompanyID): the company whose data you access. The user must be assigned to this company.
1
Get an access token
Exchange your API key for an access token and a refresh token at the auth service.Access tokens are short-lived. When one expires, use the refresh token to get a new one. See Authentication.
2
Make your first request
Put the token in the
Authorization header and the user and company IDs in X-UserID and X-CompanyID.3
Read the response
Records are in The
Data.Items and the total record count is in Data.TotalCount.X-Daily-Remaining response header shows how many requests you have left today.Next steps
Create a customer
Create a customer with addresses, telephones and other sub-records in one request.
Handle errors
Learn which HTTP status code is returned in which case.