Developers
API reference

Update a subscriber

PATCH
/workspaces/{workspace_id}/subscribers/{subscriber_id}

Updates mutable subscriber fields and consent status.

AuthorizationBearer <token>

A scoped fd_test_ or fd_live_ server credential.

In: header

Path Parameters

workspace_id*string

Opaque workspace identifier.

Match^ws_
subscriber_id*string

Opaque subscriber identifier.

Match^sub_

Header Parameters

Idempotency-Key?string

Stable key identifying this logical mutation for safe retries.

Length8 <= length <= 255

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Properties1 <= properties

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/workspaces/ws_01JEXAMPLE/subscribers/sub_01JEXAMPLE" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "id": "sub_01JEXAMPLE",    "object": "subscriber",    "email": "user@example.com",    "name": "string",    "status": "active",    "tags": [      "string"    ],    "location": "string",    "source": "string",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }}