Accounts

Create an account

Create an account.

post/v1/accounts

Request

  • Base URL
    https://api.capacity.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header x-capacity-id
    • or HTTP bearer

Request body

csatinteger
namestring
notesstring
npsinteger
phone_numberstring
renewal_datestring

Example request

{
  "renewal_date": "2023-01-01 00:00:00"
}

Response

The newly created account

bodyobject

Json body data in the request

parametersobject

Query parameters in the request

Example response

{
  "result": {
    "renewal_date": "2023-01-01 00:00:00",
    "parent_account": {
      "renewal_date": "2023-01-01 00:00:00"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.