Tokens
The Tokens endpoints are used to obtain and manage tokens from Rutter Link. A public_token is returned whenever a merchant successfully shares their data with you through Rutter Link. However, the public_token cannot be used directly with our API. It must be exchanged for an access_token via the Exchange a Token endpoint described below.
Exchange a Token
POSThttps://production.rutterapi.com/versioned/item/public_token/exchange
Request Body
client_idstringYour Rutter API client_id.
public_tokenstringThe public_token obtained from the Rutter Link onSuccess callback.
secretstringYour Rutter API secret.
Response Body
200
Example Response BodyJSON
1{
2 "connection_id": "00000000-0000-0000-0000-000000000000",
3 "access_token": "access-sandbox-de3ce8ef-33f8-452c-a685-8671031fc0f6",
4 "is_ready": true,
5 "platform": "SHOPIFY",
6 "name": "My Shopify Store",
7 "store_unique_name": "M5eVJqLnv3tbzdngLDp9FL5OlDNxlNhlE55op"
8}
Have questions?
Contact support for personalized guidance.