DevicesList devices for a person

List devices for a person

Retrieve all device tokens registered for a person. The workspace is resolved from the API key, so it is not part of the path.

This endpoint takes no query parameters and is not paginated. Devices are ordered by last_used_at (most recent first), then created_at descending.

Accepts devices:read or devices:write. A devices:register key is deliberately rejected here — it must not be able to enumerate device tokens.

curl -X GET "https://api.flameup.ai/api/v1/people/example_string/devices" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "devices": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "workspace_id": "123e4567-e89b-12d3-a456-426614174000",
      "person_id": "123e4567-e89b-12d3-a456-426614174000",
      "device_token": "example_string",
      "platform": "ios",
      "device_name": "John Doe",
      "device_model": "example_string",
      "os_version": "example_string",
      "app_version": "example_string",
      "is_active": true,
      "is_valid": true,
      "last_used_at": "2024-12-25T10:00:00Z",
      "registration_count": 10,
      "created_at": "2024-12-25T10:00:00Z",
      "updated_at": "2024-12-25T10:00:00Z"
    }
  ],
  "count": 10
}
GET
/people/{externalId}/devices
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Your Flameup API key (passed as Bearer token)

Your Flameup API key (passed as Bearer token)
path
externalIdstring
Required

Your own user id — the same userId you send to /identify and /track. This is NOT the Flameup person UUID. Every API-key route keys on this identifier; the Flameup UUID is used only by the dashboard's workspace-scoped routes.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Your Flameup API key (passed as Bearer token)

Path Parameters

externalIdstring
Required

Your own user id — the same userId you send to /identify and /track. This is NOT the Flameup person UUID. Every API-key route keys on this identifier; the Flameup UUID is used only by the dashboard's workspace-scoped routes.

Responses

successboolean
devicesarray
countinteger

Number of devices returned