Skip to main content
GET
/
api
/
users
/
me
GET /api/users/me
curl --request GET \
  --url https://api.sippet.ai/api/users/me \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "type": "<string>",
    "attributes": {
      "email": "<string>",
      "full_name": "<string>",
      "sip_username": "<string>"
    },
    "relationships": {
      "organisation": {
        "data": {
          "id": "<string>",
          "type": "<string>",
          "meta": {}
        }
      },
      "organisations": {
        "data": [
          {
            "id": "<string>",
            "type": "<string>",
            "meta": {}
          }
        ]
      },
      "sip_user": {
        "data": {
          "id": "<string>",
          "type": "<string>",
          "meta": {}
        }
      }
    }
  },
  "included": [
    "<unknown>"
  ],
  "meta": {}
}

Authorizations

Authorization
string
header
required

JWT for bearer authentication

Query Parameters

include
string

Relationship paths to include in the response

Pattern: ^()(,())*$
fields
object

Limits the response fields to only those listed for each type

Example:
{ "User": "id,full_name,email" }

Response

Success

data
object

A "Resource object" representing a User

included
any[]
meta
object