Senders

Create or update a sender by your own id

PUT
/v1/senders/{id}

Authorization

projectKey
headerAuthorizationBearer <token>

A project API key (sk_live_…) with read, enroll or admin scope.

Path Parameters

id*string
Length1 <= length <= 128

Request Body

application/json
  1. body
name*string
Length1 <= length <= 160
email?|null
timezone?string
Lengthlength <= 48
Default"UTC"
attrs?
Default{}
signature_html?|null
signature_text?|null

Response Body

Default Response

application/json
  1. response
success*true
Value intrue
data*
meta*
curl -X PUT 'http://localhost:8080/v1/senders/string' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
{  "success": true,  "data": {    "id": "string",    "projectId": "string",    "externalId": "string",    "name": "string",    "email": "string",    "timezone": "string",    "status": "string",    "attrs": {      "property1": null,      "property2": null    },    "signatureHtml": "string",    "signatureText": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  },  "meta": {    "request_id": "string"  }}