POST
/
sandbox
/
policies
/
{id}
/
event
curl --request POST \
  --url https://sandbox.axle.insure/sandbox/policies/{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 '{
  "type": "<string>"
}'
{
  "success": true,
  "data": {}
}

Authorizations

x-client-secret
string
headerrequired

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 the Token Exchange flow in exchangeToken.

Body

application/json
type
string
required

The Account or Policy event type you would like to trigger.

Response

200 - application/json
success
boolean
required

Indicates whether the operation was performed successfully.

data
object
required