Subscribe to an item's notifications

POST /api/v1/notifications/subscribe/{subscribeableType}/{subscribeableUuid}

Path parameters

  • subscribeableType string Required

    Optional parameter. the model type

  • subscribeableUuid string Required

    Optional parameter. the model uuid

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • subscribeable_type string

      type of model subscribed to

    • subscribeable_uuid string

      uuid of model subscribed to

POST /api/v1/notifications/subscribe/{subscribeableType}/{subscribeableUuid}
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/notifications/subscribe/{"value"=>"", "summary"=>"When the value is omitted"}/{"value"=>"", "summary"=>"When the value is omitted"}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "subscribeable_type": "firm",
  "subscribeable_uuid": "bbf77f8e-fa17-43b6-9cfe-46116e494c24"
}