Skip to main content

POST /profiles/:recipient_id/lists

URL: https://api.courier.com/profiles/:recipient_id/lists

Method: POST

PATH PARAMS

recipient_idstringrequired
A unique identifier representing the recipient associated with the requested profile.

BODY PARAMS

listsarray
+ Show Properties
RESPONSES:

status: 204 OK

statusstring

status: 400 Bad Request

messagestring
A message describing the error that occurred.
typestring
[invalid_request_error] The type of error that occurred.
Request Example
curl --request POST \
--url https://api.courier.com/profiles/0460766e-8463-4905-ae98-b72c7aef41d6/lists \
--header 'Accept: application/json'
Responses Example
{
"status": "SUCCESS"
}
{
"message": "Error Message",
"type": "invalid_request_error"
}
Was this helpful?