POST
/
accounts
/
identify
curl --request POST \
  --url https://insights.reforge.com/api/v1/accounts/identify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "account-789",
  "shouldUnflattenProperties": true,
  "properties": {
    "$name": "Acme, Inc.",
    "$domain": "acme.com",
    "$createdAt": "2023-11-07T05:31:56Z",
    "$updatedAt": "2023-11-07T05:31:56Z",
    "$contractValue": 100000
  }
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string
required

The unique identifier for the account.

Example:

"account-789"

shouldUnflattenProperties
boolean | null

Whether to unflatten properties that are meant to be nested objects for example { "plan.type": "Pro" } will be unflattened to { "plan": { "type": "Pro" } }

properties
object

Response

201 - application/json
The account was identified successfully
success
boolean