...
Once you have retrieved a valid token from the authentication server you are now able to create a customer on the SpeakWrite system. To create the customer you must make a post request to our External API. For dev testing the External API URL is: https://external-api-dev.speakwrite.com/customer/v1/axon. For production the External API URL is: https://external-api.speakwrite.com/customer/v1/axon. If the request is successful you will receive a 200 Ok. If the request fails you will receive a 400 Bad Request and a message indicating what went wrong. Below is the expected JSON payload to be included in the body of the request:
...
Field | Required | Details |
---|---|---|
Company | Yes | This is typically the name of the police department. |
Title | No | This is typically the title of the police officer that will be maintaining this account. |
User.EmailAddress | Yes | This is the email address of the police officer that will be maintaining this account. |
User.FirstName | Yes | This is the first name of the police officer that will be maintaining this account. |
User.LastName | Yes | This is the last name of the police officer that will be maintaining this account. |
User.PhoneNumber | Yes | This is the phone number of the police officer that will be maintaining this account. |
User.Address1 | No | This is the address 1 of the police officer that will be maintaining this account. |
User.Address2 | No | This is the address 2 of the police officer that will be maintaining this account. |
User.Address3 | No | This is the address 3 of the police officer that will be maintaining this account. |
User.City | No | This is the city of the police officer that will be maintaining this account. |
User.State | No | This is the state of the police officer that will be maintaining this account. |
User.Zip | No | This is the zip code of the police officer that will be maintaining this account. |
...