POST
/
admin
/
groups
curl --request POST \
  --url https://api.helpyousponsor.com/v1/admin/groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "account": "",
  "admins": "",
  "donations": "",
  "email_manager": "",
  "form_report": "",
  "forms": "",
  "disable_entity_archive": "",
  "manage_designations": "",
  "manage_email": "",
  "manage_programs": "",
  "manage_settings": "",
  "new_form": "",
  "group_all": "1",
  "groups": "",
  "disable_donor_archive": "",
  "disable_donor_delete": "",
  "disable_donor_restore": "",
  "disable_entity_delete": "",
  "disable_entity_restore": "",
  "disable_message_send_without_approval": "",
  "client_id": "207",
  "name": "sample",
  "group_id": "",
  "program-929": "1",
  "donor-639": "1"
}'
{
  "message": "Successfully Created Group"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
Group details
account
string
Example:

""

admins
string
Example:

""

donations
string
Example:

""

email_manager
string
Example:

""

form_report
string
Example:

""

forms
string
Example:

""

disable_entity_archive
string
Example:

""

manage_designations
string
Example:

""

manage_email
string
Example:

""

manage_programs
string
Example:

""

manage_settings
string
Example:

""

new_form
string
Example:

""

group_all
string
Example:

"1"

groups
string
Example:

""

disable_donor_archive
string
Example:

""

disable_donor_delete
string
Example:

""

disable_donor_restore
string
Example:

""

disable_entity_delete
string
Example:

""

disable_entity_restore
string
Example:

""

disable_message_send_without_approval
string
Example:

""

client_id
string
Example:

"207"

name
string
Example:

"sample"

group_id
string
Example:

""

program-929
string
Example:

"1"

donor-639
string
Example:

"1"

Response

200
application/json
Successful operation
message
string
Example:

"Successfully Created Group"