Skip to main content
GET
/
v1
/
segments
Listar segmentos
curl --request GET \
  --url https://api.notifique.dev/v1/segments \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "definition": {
        "version": 1,
        "match": "all",
        "rules": [
          {}
        ]
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Authorization: Bearer sk_live_xxxxx

Response

Lista em data.

success
boolean
data
object[]