POST
/
sandbox
/
accounts
/
{id}
/
event
curl --request POST \
  --url https://sandbox.axle.insure/sandbox/accounts/{id}/event \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <x-access-token>' \
  --header 'x-client-id: <x-client-id>' \
  --header 'x-client-secret: <api-key>' \
  --data '{
  "carrier": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "phone": "<string>",
  "email": "<string>",
  "connection": {
    "status": "active"
  }
}'
{
  "success": true,
  "data": {}
}

Authorizations

x-client-secret
string
header
required

Your secret API key. This will be shared with you during onboarding and should be considered sensitive - it’s a password after all! Your secret will be matched with your client ID to authenticate your requests.

Headers

x-client-id
string
required

Your client ID. This will be shared with you during onboarding.

x-destination-client-id
string

The client ID of the destination client. This is optional and only used by platform clients. See the Axle for Platforms guide for more information.

x-access-token
string
required

The access token required for access to the requested Account. Returned as part of Exchange Token.

Path Parameters

id
string
required

The unique ID for the requested account. Returned as part of the Token Exchange flow in exchangeToken.

Body

application/json

The Account object fields you would like to change. For list of all possible fields refer to Account

Response

200
application/json