Get
Get a token
Query Parameters
registration_id string required
The registration id
Example: google-search-console
Responses
- 200
- 401
Success
application/json
Schema
Example (from schema)
Schema
access_token string
The access token
access_token_expires_at date-time
The access token expiration
refresh_token string
The refresh token
{
"access_token": "string",
"access_token_expires_at": "2025-07-08T09:32:43.237Z",
"refresh_token": "string"
}
Authentication Failure
GET /tokens
Authorization
name: Authorizationtype: apiKeydescription: `Key {your key}`in: header
Request
Request
curl / cURL
curl -L -X GET 'https://api.wordlift.io/tokens' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
python / requests
curl -L -X GET 'https://api.wordlift.io/tokens' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
nodejs / axios
curl -L -X GET 'https://api.wordlift.io/tokens' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
php / cURL
curl -L -X GET 'https://api.wordlift.io/tokens' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'