/api/v0/customer/create

POST

Create a new case

To open and evaluate a new case, you must first create the customer in the Arva platform. This is done by sending a POST request to the following endpoint:

https://platform.arva-ai.com/api/v0/customer/create

You need to provide the Agent ID and the registered name of the business. If the agent is configured for the United States, you also need to provide the state of registration of the business.

curl -X POST 'https://platform.arva-ai.com/api/v0/customer/create' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
  "agentId": "<YOUR_AGENT_ID>",
  "registeredName": "<REGISTERED_NAME>",
  "state": "<STATE>"
}'

If the request is successful, the response from the API will be an object with the following schema:

{
  id: string // customer ID
}

Next, see how you can add data to the case.