GET
/
send
/
groups
curl --request GET \
  --url https://staging-api.chip-in.asia/api/send/groups \
  --header 'Authorization: Bearer <token>' \
  --header 'checksum: <checksum>' \
  --header 'epoch: <epoch>'
{
  "results": [
    {
      "id": 2,
      "name": "Second Group",
      "created_at": 1619740800,
      "updated_at": 1619740800
    },
    {
      "id": 3,
      "name": "Third Group",
      "created_at": 1619740801,
      "updated_at": 1619740801
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Headers

epoch
integer
required

Unix epoch timestamp

Example:

1619740800

checksum
string
required

Refer to checksum calculation

Query Parameters

page
integer

Response

200
application/json
Successful response
results
object[]

This is group schema

Example:
[
  {
    "id": 2,
    "name": "Second Group",
    "created_at": 1619740800,
    "updated_at": 1619740800
  },
  {
    "id": 3,
    "name": "Third Group",
    "created_at": 1619740801,
    "updated_at": 1619740801
  }
]