Do you need help with the integration?
Let us know at hello@betteruptime.com
Please, see Obtaining an API token.
Please, see Status Page Resources API.
YOUR_API_TOKEN
{"data": [{"id": "123456789","type": "status_page","attributes": {"company_name": "Best company","company_url": "https://best-company.com","contact_url": null,"logo_url": null,"timezone": "Tokyo","subdomain": "best-company-tokyo","custom_domain": null,"custom_css": null,"google_analytics_id": null,"min_incident_length": 400,"announcement": null,"announcement_embed_enabled": false,"announcement_embed_css": "","announcement_embed_link": "","subscribable": false,"hide_from_search_engines": false,"password_enabled": false,"created_at": "2020-08-10T07:34:38.848Z","updated_at": "2020-12-08T14:12:31.680Z"}}],"pagination": {"first": "https://betteruptime.com/api/v2/status-pages?page=1","last": "https://betteruptime.com/api/v2/status-pages?page=1","prev": null,"next": null}}
curl --request GET \--url https://betteruptime.com/api/v2/status-pages \--header 'Authorization: Bearer YOUR_API_TOKEN'
YOUR_API_TOKEN
{"data": {"id": "123456789","type": "status_page","attributes": {"company_name": "Best company","company_url": "https://best-company.com","contact_url": null,"logo_url": null,"timezone": "Tokyo","subdomain": "best-company-tokyo","custom_domain": null,"custom_css": null,"google_analytics_id": null,"min_incident_length": 400,"announcement": null,"announcement_embed_enabled": false,"announcement_embed_css": "","announcement_embed_link": "","subscribable": false,"hide_from_search_engines": false,"password_enabled": false,"created_at": "2020-08-10T07:34:38.848Z","updated_at": "2020-12-08T14:12:31.680Z"}}}
curl --request GET \--url https://betteruptime.com/api/v2/status-pages/123456789 \--header 'Authorization: Bearer YOUR_API_TOKEN'
YOUR_API_TOKEN
status.betteruptime.com
Example:
CNAME status.walmine.com statuspage.betteruptime.com
<script src="https://betteruptime.com/widgets/announcement.js" data-id="<SET STATUS_PAGE_ID>" async="async" type="text/javascript"></script>
password_enabled: true
We will set password_enabled: false
automatically when you send us an empty password{"id": "123456789","type": "status_page","attributes": {"company_name": "Best company","company_url": "https://best-company.com","contact_url": null,"logo_url": null,"timezone": "Tokyo","subdomain": "best-company-tokyo","custom_domain": null,"custom_css": null,"google_analytics_id": null,"min_incident_length": 400,"announcement": null,"announcement_embed_enabled": false,"announcement_embed_css": null,"announcement_embed_link": null,"subscribable": false,"hide_from_search_engines": false,"password_enabled": false,"created_at": "2020-08-10T07:34:38.848Z","updated_at": "2020-12-08T14:12:31.680Z"}}
{"errors": "Sorry, you misspelled some attributes","invalid_attributes": ["company_urlll"]}
curl --request POST \--url https://betteruptime.com/api/v2/status-pages \--header 'Authorization: Bearer YOUR_API_TOKEN' \--header 'Content-Type: application/json' \--data '{"company_url": "https://best-company.com","company_name": "Best company","subdomain": "best-company-tokyo","timezone": "Tokyo"}'
company_url
)YOUR_API_TOKEN
status.betteruptime.com
Example:
CNAME status.wallmine.com statuspage.betteruptime.com
<script src="https://betteruptime.com/widgets/announcement.js" data-id="<SET STATUS_PAGE_ID>" async="async" type="text/javascript"></script>
password_enabled: true
We will set password_enabled: false
automatically when you send us an empty password{"id": "123456789","type": "status_page","attributes": {"company_name": "Best company - Tokyo branch","company_url": "https://best-company.com","contact_url": null,"logo_url": null,"timezone": "Tokyo","subdomain": "best-company-tokyo","custom_domain": null,"custom_css": null,"google_analytics_id": null,"min_incident_length": 400,"announcement": null,"announcement_embed_enabled": false,"announcement_embed_css": null,"announcement_embed_link": null,"subscribable": false,"hide_from_search_engines": false,"password_enabled": false,"created_at": "2020-08-10T07:34:38.848Z","updated_at": "2020-12-08T14:12:31.680Z"}}
{"errors": "Sorry, you misspelled some attributes","invalid_attributes": ["company_urlll"]}
curl --request PATCH \--url https://betteruptime.com/api/v2/status-pages/123456789 \--header 'Authorization: Bearer YOUR_API_TOKEN' \--header 'Content-Type: application/json' \--data '{"company_name": "Best company - Tokyo branch"}'
YOUR_API_TOKEN
curl --request DELETE \--url https://betteruptime.com/api/v2/status-pages/123456789 \--header 'Authorization: Bearer YOUR_API_TOKEN'