curl --request POST \
--url https://api.paubox.net/v1/orca/{username}/subscribers \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '
{
"subscriber": {
"email": "test@example.com",
"first_name": "test",
"last_name": "example"
}
}
'{
"data": {
"id": "<string>",
"type": "subscriber",
"attributes": {
"email": "jsmith@example.com",
"unsubscribed": true,
"first_name": "<string>",
"last_name": "<string>"
}
}
}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.net/v1/orca/<USERNAME>/subscribers \
-H 'authorization: Token token=<API_KEY>' \
-H 'content-type: application/json' \
-d '{
"subscriber": {
"email": "test@example.com",
"first_name": "test",
"last_name": "example"
}
}'
curl --request POST \
--url https://api.paubox.net/v1/orca/{username}/subscribers \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '
{
"subscriber": {
"email": "test@example.com",
"first_name": "test",
"last_name": "example"
}
}
'{
"data": {
"id": "<string>",
"type": "subscriber",
"attributes": {
"email": "jsmith@example.com",
"unsubscribed": true,
"first_name": "<string>",
"last_name": "<string>"
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.paubox.com/llms.txt
Use this file to discover all available pages before exploring further.
Token-based authentication. Use format: "Token token=<API_KEY>" where <API_KEY> is your API key
Subscriber created successfully
Show child attributes