API ReferenceMembers
Add a member by email
POST
Adds the person whose Sendly account uses this email, at once. An email with no account answers 404 NOT_FOUND: the person signs up first. Only a project admin or owner may add members.
Requires the members:write scope — Add and remove project members and change their roles.
cookie
better-auth.session_token<token>BetterAuth session cookie. Used by the dashboard / browser clients. When present, the active project is taken from the x-project-id header.
id*stringProject id.
application/json- body
email*stringFormat
emailrole?stringDefault
"MEMBER"Value in
"ADMIN""MEMBER"OK
application/json- response
success*trueValue in
truedata*curl -X POST 'https://api.sendly.now/api/projects/string/members' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com"}'Example Response
{ "success": true, "data": { "userId": "string", "email": "string", "role": "OWNER" }}