# Poll a device login and mint the API key on approval **Source:** https://posteverywhere.ai/docs/api/poll-device-token --- [🤖Connect ChatGPT, Claude or any AI agent to manage your social media end to endConnect your AI agent to manage your social media](https://posteverywhere.ai/agents)POST/auth/device/token # Poll a device login and mint the API key on approval UNAUTHENTICATED. Poll every 5 s with the `device_code`. Non-terminal states return 200 with `status` of `pending` or `slow_down` (includes `interval`). Terminal: `expired`, `denied`, or `authorized`. On the first poll after browser approval the response carries the plaintext `api_key` (scopes read/write/ai, no expiry) EXACTLY ONCE — persist it immediately; subsequent polls return `expired`. Guides: [Authentication guide](https://posteverywhere.ai/docs/authentication) · [API key scopes](https://posteverywhere.ai/docs/scopes) Copy MarkdownCopy for LLMThis endpoint accepts a JSON request body. See the [auth guide](https://posteverywhere.ai/docs/authentication) for a worked example. ## Responses - 200Poll result - 400 - 500 ## More in Auth - [Start device login](https://posteverywhere.ai/docs/api/start-device-auth) - [Start OAuth session](https://posteverywhere.ai/docs/api/start-social-connect) - [Poll OAuth session](https://posteverywhere.ai/docs/api/poll-social-connect) - [Connect Bluesky](https://posteverywhere.ai/docs/api/connect-bluesky) - [Connect Telegram](https://posteverywhere.ai/docs/api/connect-telegram) - [Connect Discord](https://posteverywhere.ai/docs/api/connect-discord) [← Start device login](https://posteverywhere.ai/docs/api/start-device-auth)[Start OAuth session →](https://posteverywhere.ai/docs/api/start-social-connect)[← All endpoints](https://posteverywhere.ai/docs/api/reference)