DevicesList devices
Devices

List devices

Retrieve device tokens for the workspace.

curl -X GET "https://api.flameup.ai/api/v1/workspaces/example_string/devices?person_id=123e4567-e89b-12d3-a456-426614174000&platform=ios&is_active=true" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "devices": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "workspace_id": "example_string",
      "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",
      "created_at": "2024-12-25T10:00:00Z"
    }
  ]
}
GET
/workspaces/{workspaceId}/devices
GET
Security Scheme
Bearer Token
Bearer Tokenstring
Required

Your Flameup API key (passed as Bearer token)

Your Flameup API key (passed as Bearer token)
query
person_idstring

Filter by person

Format: uuid
query
platformstring

Filter by platform (web coming soon)

Options: ios, android, web
Request Preview
Response

Response will appear here after sending the request

Authentication

BearerAuth
header
Authorizationstring
Required

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

Path Parameters

Query Parameters

person_idstring

Filter by person

platformstring

Filter by platform (web coming soon)

Responses

devicesarray
Was this page helpful?
Built with Documentation.AI

Last updated today