Skip to content

place.stream.server.getWebhook

Lexicon Version: 1

Type: query

Get details for a specific webhook.

Parameters:

NameTypeReq’dDescriptionConstraints
idstringThe ID of the webhook to retrieve.

Output:

  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
webhookplace.stream.server.defs#webhook

Possible Errors:

  • WebhookNotFound: The specified webhook was not found.
  • Unauthorized: The authenticated user does not have access to this webhook.

{
"lexicon": 1,
"id": "place.stream.server.getWebhook",
"defs": {
"main": {
"type": "query",
"description": "Get details for a specific webhook.",
"parameters": {
"type": "params",
"required": ["id"],
"properties": {
"id": {
"type": "string",
"description": "The ID of the webhook to retrieve."
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["webhook"],
"properties": {
"webhook": {
"type": "ref",
"ref": "place.stream.server.defs#webhook"
}
}
}
},
"errors": [
{
"name": "WebhookNotFound",
"description": "The specified webhook was not found."
},
{
"name": "Unauthorized",
"description": "The authenticated user does not have access to this webhook."
}
]
}
}
}