Create and Update Account

POST /api/v1_1/account

post
Account

https://{domain}.customersuccessbox.com/api/v1_1/account
POST Account allows you to create or update an account.
Request
Response
Request
Headers
Authentication
required
string
Bearer {api_key}
Content-Type
required
string
application/json
Body Parameters
account_id
required
string
Unique identifier for account
Response
200: OK
{
"success": true
}

Body example

Refer to available fields in Account Resource for attributes that can be set and updated for an Account using this call.

Only those fields are allowed which aren't marked as Read-only.

{
"account_id": "ACME343rq",
"name": "Acme Inc."
}

CURL request example

curl --location --request POST "https://{domain}.customersuccessbox.com/api/v1_1/account" \
--header "Authorization: Bearer {api_key}" \
--header "Content-Type: application/json" \
--data "{
\"account_id\": \"ACME343rq\",
\"name\": \"Acme Inc.\"
}"

‚Äč