API reference › Your account
List your devices
GET
https://peskybird.app/api/push/devicesAuth App token
The paired devices and the topics each receives. Put their ids in a send's `devices` to reach only some of them.
Revoked devices are left out. A send's devices takes these ids; a device still has to receive the topic.
Response 200
The devices.
- devicesobject[]Required
Paired devices that are not revoked.
Fields of each item (5)
- idstringRequired
Use it in a send's
devicesto reach only this device. - namestringRequired
User-visible device name, 1 to 64 chars.
at most 64 characters - platformios | androidRequired
Client platform. Closed enum.
- statuspending | activeRequired
pendinguntil the device first reports its push token. - topicsstring[]Required
Topics the device receives (subscribed and not muted).
Errors
401
unauthorized: The Authorization header is missing, or the token is not valid or has been revoked.403
forbidden: The token may not send to this topic, or the account does not allow what was asked. details.reason says which: topic_limit, images_not_enabled or account_suspended.429
rate_limited: The account reached its daily limit, or the token sent too fast.Every error uses the same envelope. Error format and codes