Easymailing
Booking pages

List who a page can be shared with

GET /booking_pages/{uuid}/sharing_candidates

GET/booking_pages/{uuid}/sharing_candidates

Lists the users and teams of the account that a booking page could be shared with, users first and then teams, each with its UUID and whether it already has access.

When to use: To find the UUIDs to send to set_booking_page_sharing.

When not to use: To read the people who already have access, get_booking_page returns them in sharing.subjects.

Filters: The order is fixed (users, then teams, by name); there is no filter. Pagination: page and itemsPerPage; the response gives the total in hydra:totalItems. Users and teams that already have access always appear, even a suspended user.

Permissions: Requires a CRM seat and the crm.contacts_companies.write capability. Booking pages have no separate read permission, so it is also required to read. Pages belong to the user who owns the token: each user manages only their own pages, and a page of another user is answered as not found.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

uuid*string

UUID of the booking page. Get it from list_booking_pages.

Formatuuid

Query Parameters

page?integer

Page number, starting at 1.

itemsPerPage?integer

Users and teams per page. Default 30, maximum 50.

Range1 <= value <= 50
Default30

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/booking_pages/b4d2c7a1-8e35-4f60-9a12-3c5e7d9f1b84/sharing_candidates?page=1&itemsPerPage=30" \  -H "X-Auth-Token: YOUR_API_KEY"
[  {    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "subject_type": "user",    "name": "string",    "avatar_url": "string",    "selectable": true,    "status": "active",    "selected": true  }]