Autional Autional
API Reference GitHub autional.com →

GET /communication/push-tokens

Paginated query of device push tokens for the current logged-in user under the current tenant. Supports filtering by platform type (ios/android/web/desktop), returns token ID, platform, device ID, activation status, and creation time. References: ePrivacy Directive 2002/58/EC, CAN-SPAM Act.

Communication Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
user_id query string No User ID (automatically obtained from JWT for current user)
platform query string No Platform filter: ios/android/web/desktop
page query integer No Page number, starting from 1 (default 1)
page_size query integer No Items per page (default 20)

Responses

StatusDescriptionSchema
200Query successful, returns token listdto.PushTokenListResponse
400Invalid request parametersdto.SimpleResponse
401Unauthenticated or invalid tokendto.SimpleResponse
403Insufficient permissions to access this resourcedto.SimpleResponse
500Internal server errordto.SimpleResponse

Referenced Schemas

dto.PageInfo

FieldTypeRequiredExampleConstraintsDescription
has_next boolean No HasNext indicates whether there is a next page
has_prev boolean No HasPrev indicates whether there is a previous page
page integer No Page is the current page number (1-based)
page_size integer No PageSize is the number of items per page
total integer No Total is the total number of items across all pages
total_pages integer No TotalPages is the total number of pages

dto.PushTokenListResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
items array of

See dto.PushTokenResponse

No Unified use of items
message string No
pagination object No Pagination information (nested object)
timestamp string No
total integer No Total count (flattened for direct reading)

dto.PushTokenResponse

Push token information

FieldTypeRequiredExampleConstraintsDescription
created_at string No 2026-04-15T10:00:00Z
device_id string No iPhone15-001
id string No pt_abc123
is_active boolean No True
platform string No ios
user_id string No usr_abc123

dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No