Let us know at hello@betteruptime.com.
Please, see Obtaining an API token.
YOUR_API_TOKEN
{"data": [{"id": "123","type": "policy","attributes": {"name": "Policy A","repeat_count": 5,"repeat_delay": 0,"incident_token": "8nEiLj2gfqjfQRK6vzkFuGC25"}},{"id": "456","type": "policy","attributes": {"name": "Policy B","repeat_count": 3,"repeat_delay": 300,"incident_token": "vZpYuaRYvLa6t2yqRqHTmEVKu"}}],"pagination": {"first": "https://betteruptime.com/api/v2/policies?page=1","last": "https://betteruptime.com/api/v2/policies?page=1","prev": null,"next": null}}
curl --request GET \--url https://betteruptime.com/api/v2/policies \--header 'Authorization: Bearer YOUR_API_TOKEN'
YOUR_API_TOKEN
{"data": {"id": "123","type": "policy","attributes": {"name": "Policy A","repeat_count": 5,"repeat_delay": 0,"incident_token": "8nEiLj2gfqjfQRK6vzkFuGC25"}}}
{"errors": "Resource with provided ID was not found"}
curl --request GET \--url https://betteruptime.com/api/v2/policies/123 \--header 'Authorization: Bearer YOUR_API_TOKEN'