Accounts

List my accounts

Changed on

List the workspace accounts the authenticated user belongs to.

Called with an OAuth application token, this returns exactly one workspace: the one the user chose when they authorized the application. Use its id as the {accountId} segment of every other endpoint — a token is bound to a single workspace, and any request naming a different one is refused. This endpoint needs no particular scope.

Copy as Markdown Open in ChatGPT Open in Claude

get/v1/accounts

Request

  • Base URL
    https://api.assinafy.com.br
  • URL
    https://api.assinafy.com.br/v1/accounts
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key

Response

The user's accounts

statusinteger

HTTP status code, mirrored in the body.

messagestring

Human-readable message; empty on success.

Example response

{
  "status": 200,
  "data": [
    {
      "resource": "account",
      "id": "6401df46d6a6b0c692d9ec49",
      "name": "Acme Inc.",
      "primary_color": "aabbcc",
      "secondary_color": "112233",
      "notification_sender_type": "User",
      "roles": [
        "owner"
      ],
      "is_delete_allowed": true,
      "limits": {
        "webhook_endpoints": 1
      },
      "created_at": "2026-06-03T03:54:16Z"
    }
  ]
}

Changes

    • info

      added the optional property /// to the response with the status