Skip to main content
GET/sender-settings/

Get all sender settings

You can return information about all sender settings.

Results are paginated: follow next to get the next page (see Response pagination).

Request​

curl -X GET "https://<your_app_subdomain>.user.com/api/public/sender-settings/" \
-H "Authorization: Token <your_64_char_api_key>" \
-H "Accept: */*; version=2"

Response examples​

{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"id": 1,
"name": "John Doe",
"from_email": "john@example.com",
"reply_to": "support@example.com",
"sender_name": "John",
"description": "John from IT"
},
{
"id": 2,
"name": "Jane Doe",
"from_email": "jane@example.com",
"reply_to": "support@example.com",
"sender_name": "Jane",
"description": "Jane from marketing"
}
]
}

Response fields​

Fields returned in the 200 OK response body.

countinteger
Number of results across all pages. It can lag behind recent changes; see Response pagination.
nextstring (URL)nullable
URL of the next page of results. null on the last page.
previousstring (URL)nullable
URL of the previous page of results. null on the first page.
resultsarray of objects
Results on this page.
results[].idinteger
A unique identifier for the campaign which is given by User
results[].namestring
An email campaign name.
results[].from_emailstring
Address the emails are sent from.
results[].reply_tostring
Address replies go to.
results[].sender_namestring
Sender name shown to recipients.
results[].descriptionstringnullable
A description of email campaign.
note

Errors that can come from any endpoint (401, 429, 500, 502, 504) are described in HTTP response codes.