Team members
GET https://pushaja.com/api/team-members/{team_id}
curl --request GET \
--url 'https://pushaja.com/api/team-members/{team_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://pushaja.com/api/team-members/{team_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": [
{
"id": 1,
"team_id": 1,
"user_email": "[email protected]",
"access": {
"read": true,
"create": true,
"update": true,
"delete": false
},
"status": 1,
"datetime": "2025-04-03 21:03:17",
"last_datetime": null
}
]
}
POST https://pushaja.com/api/teams
Parameters | Details | Description |
---|---|---|
team_id | Required Integer | - |
user_email | Required String | - |
access | Optional String Array |
read.all create.websites , create.personal_notifications , create.rss_automations , create.recurring_campaigns , create.subscribers , create.campaigns , create.segments , create.flows , create.notification_handlers update.websites , update.personal_notifications , update.rss_automations , update.recurring_campaigns , update.campaigns , update.segments , update.flows , update.notification_handlers delete.websites , delete.personal_notifications , delete.rss_automations , delete.recurring_campaigns , delete.subscribers , delete.subscribers_logs , delete.campaigns , delete.segments , delete.flows , delete.notification_handlers |
curl --request POST \
--url 'https://pushaja.com/api/team-members' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'team_id=1' \
--form 'user_email=[email protected]' \
--url 'https://pushaja.com/api/team-members' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'team_id=1' \
--form 'user_email=[email protected]' \
{
"data": {
"id": 1
}
}
POST https://pushaja.com/api/team-members/{team_member_id}
Parameters | Details | Description |
---|---|---|
access | Optional String Array |
read.all create.websites , create.personal_notifications , create.rss_automations , create.recurring_campaigns , create.subscribers , create.campaigns , create.segments , create.flows , create.notification_handlers update.websites , update.personal_notifications , update.rss_automations , update.recurring_campaigns , update.campaigns , update.segments , update.flows , update.notification_handlers delete.websites , delete.personal_notifications , delete.rss_automations , delete.recurring_campaigns , delete.subscribers , delete.subscribers_logs , delete.campaigns , delete.segments , delete.flows , delete.notification_handlers |
curl --request POST \
--url 'https://pushaja.com/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'access[]=create' \
--form 'access[]=update' \
--url 'https://pushaja.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://pushaja.com/api/team-members/{team_member_id}
curl --request DELETE \
--url 'https://pushaja.com/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://pushaja.com/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \