POST
/
send
/
groups
curl --request POST \
  --url https://staging-api.chip-in.asia/api/send/groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'checksum: <checksum>' \
  --header 'epoch: <epoch>' \
  --data '{
  "name": "First Group"
}'
{
  "id": 1,
  "name": "First Group",
  "created_at": 1619740800,
  "updated_at": 1619740800
}

Authorizations

Authorization
string
headerrequired

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

Headers

epoch
integer
required

Unix epoch timestamp

checksum
string
required

Refer to checksum calculation

Body

application/json
name
string
required

Response

200 - application/json
id
integer
name
string
created_at
string

Object creation time in UTC

updated_at
string

Object creation time in UTC