POST
/
v2
/
notifications
/
offset
/
list
List offset lifecycle event notification configurations
curl --request POST \
  --url https://api.metronome.com/v2/notifications/offset/list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "limit": 20,
  "cursor": "d7abd0cd-4ae9-4db7-8676-e986a4ebd8dc"
}'
{
  "data": [
    {
      "id": "d7abd0cd-4ae9-4db7-8676-e986a4ebd8dc",
      "name": "+1 day after contract starts",
      "type": "OFFSET_LIFECYCLE_EVENT",
      "policy": {
        "type": "contract.start",
        "offset": "P1D"
      },
      "environment_type": "PRODUCTION",
      "created_at": "2024-01-15T10:30:00Z",
      "created_by": "Martins Seyi"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Optional pagination parameters

limit
number
cursor
string

Response

200 - application/json

Success

data
object[]
required
cursor
string | null