Get webhook subscriptions
GET/v2-experimental/webhooks/subscriptions
Retrieves information about all webhook subscriptions for a specific user.
Required scope
boards:readRate limiting
Level 4Request
Query Parameters
Possible values: >= 1
and <= 100
Default value: 10
Responses
- 200
- 400
- 404
- 429
Subscriptions retrieved
- application/json
- Schema
- Example (from schema)
Schema
Array [
- BoardSubscriptionData
]
A cursor-paginated method returns a portion of the total set of results based on the limit
specified and a cursor
that points to the next portion of the results. To retrieve the next set of results of the collection, set the cursor
parameter in your next request to the value returned in this parameter.
data
object[]
Contains the result data.
Indicates the HTTPS URL to which Miro sends a webhook when an event occurs.
Date and time when the webhook subscription was created.
Format: UTC, adheres to ISO 8601, includes a trailing Z offset.
data
object
Contains information about a webhook subscription, such as the board ID that the webhook subscription is associated with.
oneOf
Unique identifier (ID) of the board with which the webhook subscription is associated.
Unique identifier (ID) of a webhook subscription.
Date and time when the webhook subscription was last modified.
Format: UTC, adheres to ISO 8601, includes a trailing Z offset.
Possible values: [enabled
, disabled
, lost_access
]
Default value: enabled
Indicates whether the status of the webhook subscription. enabled
: Miro sends a webhook when an event occurs in the associated board.
disabled
: Miro does not send a webhook even when an event occurs in the associated board.
lost_access
: The user with which the webhook subscription is associated has lost access to the board.
The user needs to regain access to the board, and then reenable the webhook subscription by updating the webhook subscription status to enabled
by using the update webhook endpoint.
The type of object associated with the webhook subscription.
Maximum number of results returned based on the limit
specified in the request. For example, if there are 20
results, the request has no cursor
value, and the limit
is set to 20
,the size
of the results will be 20
. The rest of the results will not be returned. To retrieve the rest of the results, you must make another request and set the appropriate value for the cursor
parameter value that you obtained from the response.
Number of results returned in the response considering the cursor
and the limit
values sent in the request. For example, if there are 20
results, the request does not have a cursor
value, and the limit
set to 10
, the size
of the results will be 10
.
In this example, the response will also return a cursor value that can be used to retrieve the next set of 10 remaining results in the collection.
Total number of results available. If the value of the total
parameter is higher than the value of the size
parameter, this means that there are more results that you can retrieve. To retrieve more results, you can make another request and set the offset
value accordingly. For example, if there are 30
results, and the request has the offset
set to 0
and the limit
set to 20
, the size
parameter will return 20
and the total
parameter will return 30
. This means that there are 9 more results to retrieve (as the offset is zero-based).
{
"cursor": "MzQ1ODc2NDUyMjQ5MDA4Mjg5NX4=",
"data": [
{
"callbackUrl": "https://api.asana.com/v2/webhooks_endpoint",
"createdAt": "2022-03-30T17:26:50.000Z",
"data": {},
"id": "99c152bb-8259-4c7a-96d8-ad8eef47ecd4",
"modifiedAt": "2022-03-30T17:26:50.000Z",
"status": "enabled",
"type": "board_subscription"
}
],
"limit": 20,
"size": 1,
"total": 0
}
Malformed request
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}
Too many requests
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}