Skip to main content
Update Subscription
PUT
PUT
https://api.atzcrm.com/v1/subscribe/:id

Update a subscribed webhook by its unique id.

Request

Put

PUT /v1/subscribe/:id

Path Parameter

  • idnumber

    Replace :id with subscription id in the request URL.

Body

  • eventNamestring

    >= 1 character

  • targetUrlstring (URL)

    >= 1 characters

Response

200

Body

  • idnumber

    Example: 7

  • account_idnumber

    Example: 1

  • event_namestring

    Example: candidate.deleted

  • target_urlstring

    Example: https://xyz_updated.com

  • sourcestring

    Example: public

  • created_atinteger

    Example: 1764200594

  • updated_atinteger

    Example: 1764200981

401

Body

  • unauthorised
422

Body

  • Unprocessable Entity

Response Example

{
"id": 7,
"account_id": 1,
"event_name": "candidate.deleted",
"target_url": "https://xyz_updated.com",
"source": "public",
"created_at": 1764200594,
"updated_at": 1764200981
}