Skip to main content
Skip to Content
Dispatch API
This is the documentation for Dispatch API v0.2b, which is no longer actively maintained. For up-to-date documentation, see the latest version (v1.0).

Retrieve a depot

GET
/depots/{depotId}

The playground uses your live account

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

Authorization

BasicAuth
headerAuthorizationBasic <token>

Use the API key as the username and leave the password empty.

Path Parameters

depotId*string

The depot id

Match^[a-zA-Z0-9---_]{1,50}$

Response Body

The requested depot

application/json
  1. response

The requested depot

id*string

The depot id, in the format depots/<id>

Match^depots\/[a-zA-Z0-9---_]{1,50}$
name*string

The name of the depot.

Example Request
curl -X GET 'https://api.spoke.com/public/v0.2b/depots/string'
Example Response
{  "id": "string",  "name": "string"}