SupportWire API
API ReferenceOrganization

Get organization

Required scope: `organization:read`.

GET
/api/oauth/v1/organization

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth access token, e.g. Authorization: Bearer swot_….

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/oauth/v1/organization"
{
  "data": {
    "id": "string",
    "name": "string",
    "display_name": "string",
    "domain": "string",
    "created_at": "2019-08-24T14:15:22Z"
  }
}
{
  "error": "insufficient_scope",
  "error_description": "The token is missing a required scope."
}
{
  "error": "insufficient_scope",
  "error_description": "The token is missing a required scope."
}