Retrieves the information of an existing group. You only need to supply the unique group ID that was returned upon creation or receiving.
API Endpoint #
https://app.text.lk/api/v3/contacts/{group_id}/show/
HTTPParameters #
Parameter | Required | Type | Description |
---|---|---|---|
group_id | Yes | string | Contact Groups uid |
Example Request #
curl -X POST https://app.text.lk/api/v3/contacts/{group_id}/show \
-H 'Authorization: Bearer API_KEY' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
HTTPExample Response #
Returns a contact object if the request is successful.
{
"status": "success",
"data": "group data with all details",
}
HTTPIf the request fails, an error object will be returned.
{
"status": "error",
"message" : "A human-readable description of the error."
}
HTTP