SendLit logoSendLit Docs
API ReferenceSettingsDelivery

Choose the team's default delivery source

PATCH
/settings/delivery
x-sendlit-apikey<token>

In: header

Request Body

application/json

Body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://api.sendlit.dev/settings/delivery" \  -H "Content-Type: application/json" \  -d '{    "deliverySource": {      "type": "organization"    }  }'
{
  "teamEspEnabled": true,
  "teamCanChangeDefault": true,
  "defaultSource": "organization",
  "defaultTeamEspId": "string",
  "updatedAt": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}