Accounts
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
POST | |
GET | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
DELETE | |
POST | |
GET | |
POST | |
POST | |
GET | |
PATCH |
List all accounts
Required API key scopes
account:readQuery parameters
- all_roles_unassignedboolean
- inactive_lastbooleanDefault:
false - include_churnedbooleanDefault:
false - include_ignoredbooleanDefault:
false - limitinteger
- offsetinteger
- orderingstringOne of:
"-created_at""-name""-updated_at""created_at""name""updated_at" - searchstring
- tagsstring
Response
Example request
GET /api /projects /:project_id /accountsExample response
Status 200
RESPONSE
Create accounts
Required API key scopes
account:writeRequest parameters
- namestring
- external_idstring | null
- propertiesobject | null
- tagsarray
- slack_summary_cadence
- churned_atstring | null
- ignored_atstring | null
Response
Example request
POST /api /projects /:project_id /accountsExample response
Status 201
RESPONSE
List all accounts custom property values
Required API key scopes
account:readPath parameters
- account_idstring
Example request
GET /api /projects /:project_id /accounts /:account_id /custom_property_valuesExample response
Status 200
RESPONSE
Create accounts custom property values
Required API key scopes
account:writePath parameters
- account_idstring
Request parameters
- definitionstring
- value
Response
Example request
POST /api /projects /:project_id /accounts /:account_id /custom_property_valuesExample response
Status 201
RESPONSE
Status 204 No response body
Retrieve accounts custom property values history
Required API key scopes
account:readPath parameters
- account_idstring
Query parameters
- definitionstring
- sincestring
Example request
GET /api /projects /:project_id /accounts /:account_id /custom_property_values /historyExample response
Status 200
RESPONSE
List all accounts notebooks
Required API key scopes
account_note:readPath parameters
- account_idstring
Query parameters
- created_byarray
- limitinteger
- offsetinteger
- orderingstringOne of:
"-created_at""-created_by""-last_modified_at""-title""created_at""created_by""last_modified_at""title" - searchstring
- tagsstring
Response
Example request
GET /api /projects /:project_id /accounts /:account_id /notebooksExample response
Status 200
RESPONSE
Create accounts notebooks
Required API key scopes
account_note:writePath parameters
- account_idstring
Request parameters
- titlestring | null
- content
- text_contentstring | null
- tagsarray
Response
Example request
POST /api /projects /:project_id /accounts /:account_id /notebooksExample response
Status 201
RESPONSE
Retrieve accounts notebooks
Required API key scopes
account_note:readPath parameters
- account_idstring
- short_idstring
Response
Example request
GET /api /projects /:project_id /accounts /:account_id /notebooks /:short_idExample response
Status 200
RESPONSE
Update accounts notebooks
Replace the tags of an account notebook. Omit tags to leave them as they are.
Required API key scopes
account_note:writePath parameters
- account_idstring
- short_idstring
Request parameters
- tagsarray
Response
Example request
PATCH /api /projects /:project_id /accounts /:account_id /notebooks /:short_idExample response
Status 200
RESPONSE
Delete accounts notebooks
Required API key scopes
account_note:writePath parameters
- account_idstring
- short_idstring
Example request
DELETE /api /projects /:project_id /accounts /:account_id /notebooks /:short_idExample response
Status 204 No response body
List all accounts relationships
Required API key scopes
account:readPath parameters
- account_idstring
Query parameters
- include_historyboolean
Example request
GET /api /projects /:project_id /accounts /:account_id /relationshipsExample response
Status 200
RESPONSE
Create accounts relationships
Required API key scopes
account:writePath parameters
- account_idstring
Request parameters
- definitionstring
- userinteger
Response
Example request
POST /api /projects /:project_id /accounts /:account_id /relationshipsExample response
Status 201
RESPONSE
Delete accounts relationships
Required API key scopes
account:writePath parameters
- account_idstring
- idstring
Example request
DELETE /api /projects /:project_id /accounts /:account_id /relationships /:idExample response
Status 204 No response body
Create accounts relationships end
Path parameters
- account_idstring
- idstring
Response
Example request
POST /api /projects /:project_id /accounts /:account_id /relationships /:id /endExample response
Status 200
RESPONSE
Retrieve accounts persons
Required API key scopes
account:readperson:readPath parameters
- idstring
Query parameters
- filtersstring
- limitintegerDefault:
100 - offsetintegerDefault:
0 - propertiesstring
- searchstringDefault:
- sort_columnstringDefault:
account_last_seen - sort_directionstringDefault:
descOne of:"asc""desc"
Response
Example request
GET /api /projects /:project_id /accounts /:id /personsExample response
Status 200
RESPONSE
Create accounts persons query
Run an account-user table query. Requires query, account, and person read scopes.
Required API key scopes
query:readaccount:readperson:readPath parameters
- idstring
Request parameters
- async
- client_query_id
- filters_override
- limit_context
- name
- query
- refreshDefault:
blocking - variables_override
Response
Example request
POST /api /projects /:project_id /accounts /:id /personsExample response
Status 200
RESPONSE
Create accounts persons memberships
Required API key scopes
query:readaccount:readperson:readPath parameters
- idstring
Request parameters
- person_idsarray
Example request
POST /api /projects /:project_id /accounts /:id /persons /membershipsExample response
Status 200
RESPONSE
Retrieve accounts
Required API key scopes
account:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /accounts /:idExample response
Status 200
RESPONSE
Update accounts
Required API key scopes
account:writePath parameters
- idstring
Request parameters
- namestring
- external_idstring | null
- propertiesobject | null
- tagsarray
- slack_summary_cadence
- churned_atstring | null
- ignored_atstring | null
Response
Example request
PATCH /api /projects /:project_id /accounts /:idExample response
Status 200
RESPONSE





