APIs

Team Members

A team member is a user who spans all campaigns in a team. We support read only users and admins.


Add A Team Member

curl -X POST https://api.supersend.io/v1/team/member \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
--data '{
  "firstName": "",
  "lastName": "",
  "email": "",
  "TeamId": "xxx-xxx-xxx",
  "CampaignId": "xxx-xxx-xxx",
}'

Get Team Members

id - string - Team ID

limit - number - optional, defaults to 10

offset - number - optional, defaults to 0

curl -X GET 'https://api.supersend.io/v1/team/members?id=xxx' \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json"

Update Team Member

role - string - one of "read_only" or "org_admin"

Basically read only users can only read, everyone else can do everything.

curl -X PUT https://api.supersend.io/v1/team/member/<UserId> \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-D '{  \
  "firstName": "", \
  "lastName": "", \
  "role": "", \
  "TeamId": "xxx-xxx-xxx", \
  "CampaignId": "xxx-xxx-xxx", \
}'
Previous
Team