Upsert a subscriber
Subscribers are normally created lazily; this exists for imports. `created_at` may be **backdated** on first create (ignored on update) — it is the knob controlling which historical broadcasts an imported user sees (`broadcast.created_at >= subscriber.created_at`).
Subscribers are normally created lazily; this exists for imports.
created_at may be backdated on first create (ignored on update) —
it is the knob controlling which historical broadcasts an imported user
sees (broadcast.created_at >= subscriber.created_at).
Authorization
ApiKeyBearer Environment-scoped management API key.
In: header
Path Parameters
Customer-provided subscriber id (e.g. usr_42).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/subscribers/string" \ -H "Content-Type: application/json" \ -d '{}'{
"created_at": "2019-08-24T14:15:22Z",
"subscriber_id": "string"
}{
"error": {
"code": "invalid_request",
"message": "string"
}
}{
"error": {
"code": "invalid_request",
"message": "string"
}
}