Accounts
GET /v1/account
Description
Get account info for the current user.
If using
Authorization
header, the endpoint will lookup the account ID of the user that created the API tokenIf using a JWT, the endpoint will use
sub
as the account ID
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Example Response
GET /v1/account/team
Description
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Example Response
PUT /v1/account/team
Description
A new JWT will be returned along with a payload of account data, same as /v1/login:`
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Body Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Example Response
Example Response
PUT /v1/account/change-password
Description
Change user password.
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Body Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Example Response
PUT /v1/account/profile
Description
Update profile.
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Body Parameters
Param | Type | Required | Description |
| string | no | Email associated with the account |
| string | no | Name associated with the account |
| bool | no | Some people are very passionate about rounded corners and vice versa; |
Example Response
PUT /v1/account/onboarding
Description
Update onboarding state.
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Body Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Example Response
GET /v1/tasks
Description
Get async tasks for account.
Header Parameters
Param | Type | Required | Description |
| string | yes | Bearer token containing API key |
Example Response
Last updated