Skip to main content
Skip to Content
Dispatch API

Save the plan changes

POST
/plans/{planId}:save

The playground uses your live account

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

Save the plan changes after re-optimization without distributing it. This endpoint is optional since re-distribute already saves the changes.

Authorization

BasicAuth
headerAuthorizationBasic <token>

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

Path Parameters

planId*string

The plan id

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

Response Body

Plan saved successfully

Example Request
curl -X POST 'https://api.spoke.com/public/v1/plans/string:save'
Example Response
Empty