Alerts

Add a number for text-message alerts; a 6-digit code is sent to it (Pro and Business)

post/alerts/phones

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/alerts/phones
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Query parameters

orgIdstring

Organization id (required when you belong to several)

Request body

numberstring required

international format, e.g. +46701234567

labelstring
language'en' | 'sv' | 'de' | 'fr' | 'es' | 'pt' | 'id' | 'da' | 'nb'

language of the messages; default: yours

Response

Added

idstring uuid required
numberstring required

E.164, shown with only the last digits

labelstring nullable required
verifiedboolean required
createdAtstring required

ISO-8601 timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.