rts_notification_methods

Create notification method

Create notification method

post/rts/notifications/methods/

Request

  • Base URL
    https://api.angelcam.com/v1
  • Auth
    • OAuth 2
      Authorization codehttps://my.angelcam.com/oauth/authorize/, token URL https://my.angelcam.com/oauth/token/
      PasswordToken URL https://api.angelcam.com/oauth/token/
      Scopesnotifications_methods_manage
    • or API key in header Authorization
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Request body

OR

Example request

{
  "name": "My server",
  "type": "http",
  "http_method": "POST",
  "url": "https://example.com/notify",
  "signature_private_key": "CHDFXB3CLXSJ8JjHh3xY8SSNJyjTmGB4jdz7reLm6cVW8ammg4"
}

Response

OK

OR

Example response

{
  "id": 85,
  "name": "My server",
  "type": "http",
  "http_method": "POST",
  "url": "https://example.com/notify",
  "signature_private_key": "CHDFXB3CLXSJ8JjHh3xY8SSNJyjTmGB4jdz7reLm6cVW8ammg4"
}

Changes

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