SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
blogs

Update a subscriber status.

Update a subscriber status.

PATCHhttps://app.softsolz.uk/api/v1/services/blogs/subscribers/{id}

Recent Requests

Kept only in this browser
TimeStatusTook
Send a request with Try it to see it here.

Path Params

idstringrequired

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Idempotency-Keystring

Optional idempotency key for safe retries.

Body Params

statusstringrequired

New subscriber status.

Response

Response Body

idstringSubscriber id (numeric string).
emailstringSubscriber email.
statusstringSubscription status.

Request

curl --request PATCH \
--url https://app.softsolz.uk/api/v1/services/blogs/subscribers/{id} \
--header 'Authorization: Bearer sk_live_your_key' \
--header 'Content-Type: application/json' \
--data '{
"status": "unsubscribed"
}'

Credentials

Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.

Response · 200

{
"data": {
"id": "your-id",
"email": "person@example.com",
"status": "subscribed"
}
}