Connect API

List couriers

GET
/couriers

The playground uses your live account

Requests are sent with your real API key, so creating, updating or deleting here changes your production data.

List the couriers connected to the authenticated retailer.

Authorization

headerAuthorizationBearer <token>

Pass the API key directly as the token.

Query Parameters

pageToken?string

The page token to continue from.

Length1 <= length <= 255
maxPageSize?integer

The maximum number of couriers to return.

Range1 <= value <= 100
Default100

Response Body

The couriers connected to the retailer.

application/json
  1. response

The couriers connected to the retailer.

couriers*array<>

The couriers connected to the retailer.

nextPageToken*|

The token for the next page, or null when there are no more couriers.

Example Request
curl -X GET 'https://api.spoke.com/connect/v1/couriers'
Example Response
{  "couriers": [    {      "id": "string",      "name": "string"    }  ],  "nextPageToken": null}

Was this page helpful?