Get Webhook Subscription
GET
/v2/webhook/subscription/{id}
Code sample: cURL
curl --location --request GET 'https://api.ouraring.com/v2/webhook/subscription/5d3fe17b-f880-4d93-b9b6-afbfb76c1e78' --header 'x-client-id: client-id' --header 'x-client-secret: client-secret'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
Id
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
WebhookSubscriptionModel
object
id
required
Id
string format: uuid4
callback_url
required
Callback Url
string
event_type
required
WebhookOperation
string
data_type
required
ExtApiV2DataType
string
expiration_time
required
Expiration Time
string format: date-time
Example
{ "event_type": "create", "data_type": "tag"}Webhook with specified id does not exist.
Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}