---
title: "Poll - Device Token"
source_url: https://docs.rapyd.net/en/poll---device-token.html
lang: en
---

# Poll - Device Token

Check if the terminal has paired its device token to the serial number.

> **Note:**
>
> This method is limited to one call per second per serial number.

### Parameters

### Request Header Parameters

- - X-API-KEY
  - Unique access key provided by Rapyd for each partner.

### Request Path Parameters

- - serialNumber
  - The serial number of the POS device.

### 202 Accepted Response

- - message
  - Accepted

### 401 Error Response

- - message
  - Unauthorized

### 429 Error Response

- - message
  - Too Many Requests

### 500 Error Response

- - 401
  - Server Error

- /poll/devicetoken/:serialNumber

- 202 Register Terminal using Poll
- ```curl
  curl -X get https://CloudLinkApi/devicetoken/12345 
  -H 'X-API-KEY: your-access-key-here'
  ```
- ```json
  {
   "message": "Accepted"	
  }
  ```

- 401 Register Terminal using Poll - Unauthorized
- ```curl
  curl -X get https://CloudLinkApi/devicetoken/12345 
  -H 'X-API-KEY: your-access-key-here'
  ```
- ```json
  {
   "message": "Unauthorized"
  }
  ```

- 429 Register Terminal using Poll - Too Many Requests
- ```curl
  curl -X get https://CloudLinkApi/devicetoken/12345 
  -H 'X-API-KEY: your-access-key-here'
  ```
- ```json
  {
   "message": "Too Many Requests"
  }
  ```

- 500 Register Terminal using Poll - Server Error
- ```curl
  curl -X get https://CloudLinkApi/devicetoken/12345 
  -H 'X-API-KEY: your-access-key-here'
  ```
- ```json
  {
   "message": "Server Error"
  }
  ```
