subscribers

Create subscriber

Creates a subscriber record. Adds record to subscription list if specified otherwise adds to all contacts.

Example curl command:

curl -X POST \
https://api.paubox.com/v1/marketing/subscribers \
  -H 'authorization: Token token=<API_KEY>' \
  -H 'content-type: application/json' \
  -d '{
    "subscriber": {
        "email": "test@example.com",
        "first_name": "test",
        "last_name": "example"
    }
  }'
post/subscribers

Request

  • Base URL: https://api.paubox.com/v1/marketing
  • URL: https://api.paubox.com/v1/marketing/subscribers
  • Auth: API key in header authorization

Request body

subscription_list_idstring

Optional subscription list ID

Response

Subscriber created successfully

Changes

No recorded changes to this operation across all 1 revision of this API.