Członkowie zespołu

GET https://notifyc.com/api/team-members/{team_id}
curl --request GET \
--url 'https://notifyc.com/api/team-members/{team_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": [ { "id": 1, "team_id": 1, "user_email": "hello@example.com", "access": { "read": true, "create": true, "update": true, "delete": false }, "status": 1, "datetime": "2025-03-14 22:26:08", "last_datetime": null } ] }
POST https://notifyc.com/api/teams
Parametry Szczegóły Opis
team_id Wymagane Całkowity -
user_email Wymagane Ciąg -
access Opcjonalny Ciąg Tablica read.all
create.campaigns , create.notifications
update.campaigns , update.notifications
delete.campaigns , delete.notifications
curl --request POST \
--url 'https://notifyc.com/api/team-members' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'team_id=1' \
--form 'user_email=hello@example.com' \
{ "data": { "id": 1 } }
POST https://notifyc.com/api/team-members/{team_member_id}
Parametry Szczegóły Opis
access Opcjonalny Ciąg Tablica read.all
create.campaigns , create.notifications
update.campaigns , update.notifications
delete.campaigns , delete.notifications
curl --request POST \
--url 'https://notifyc.com/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'access[]=create' \
--form 'access[]=update' \
{ "data": { "id": 1 } }
DELETE https://notifyc.com/api/team-members/{team_member_id}
curl --request DELETE \
--url 'https://notifyc.com/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \