Add subscription tag OAuth Scope: subscriptions:write

Adds tags to a subscription. If the tag does not exist on the publication, it will be created automatically.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

publicationIdstringRequiredformat: "^(pub_[0-9a-fA-F\-]+)$"
The prefixed ID of the publication.
subscriptionIdstringRequiredformat: "^(sub_[0-9a-fA-F\-]+)$"
The prefixed ID of the subscription.

Request

This endpoint expects an object.
tagslist of stringsOptional
Tags that can be used to group subscribers

Response

OK
dataobject
The subscription object

Errors

400
Bad Request Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error