Skip to main content
GET
/
contacts
/
books
/
{name}
Get all contacts in a book
curl --request GET \
  --url https://ecsend.paysgator.com/contacts/books/{name} \
  --header 'X-Api-Key: <api-key>'
[
  {
    "phoneNumber": "+25884xxxxxxx",
    "name": "John Doe"
  }
]

Authorizations

X-Api-Key
string
header
required

Path Parameters

name
string
required

Name of the contact book

Response

List of contacts

phoneNumber
string
Example:

"+25884xxxxxxx"

name
string
Example:

"John Doe"