Public API for Customers, Partners, and Integrations
API Reference
//Update a webhook
Onboarded Public API (0.0.1)
Download OpenAPI description
Languages
Servers
Mock server
https://docs.onboarded.com/_mock/openapi
Onboarded Production Server
https://app.onboarded.com
- Mock serverhttps://docs.onboarded.com/_mock/openapi/api/v1/webhooks
- Onboarded Production Serverhttps://app.onboarded.com/api/v1/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.onboarded.com/_mock/openapi/api/v1/webhooks?page=string&per_page=string' \
-b __session=YOUR_API_KEY_HEREResponse
application/json
{ "data": [ { … } ], "total": 0, "current_page": 0, "per_page": 0, "total_pages": 0 }
- Mock serverhttps://docs.onboarded.com/_mock/openapi/api/v1/webhooks
- Onboarded Production Serverhttps://app.onboarded.com/api/v1/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.onboarded.com/_mock/openapi/api/v1/webhooks \
-H 'Content-Type: application/json' \
-b __session=YOUR_API_KEY_HERE \
-d '{
"url": "string",
"description": "string",
"subscribed_events": [
"employee.created"
]
}'Response
application/json
{ "id": "we_abc123def456", "url": "string", "token": "string", "description": "string", "created_at": "string", "updated_at": "string", "last_used_at": "string", "subscribed_events": [ "employee.created" ] }
- Mock serverhttps://docs.onboarded.com/_mock/openapi/api/v1/webhooks/{webhook_id}
- Onboarded Production Serverhttps://app.onboarded.com/api/v1/webhooks/{webhook_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.onboarded.com/_mock/openapi/api/v1/webhooks/{webhook_id}' \
-b __session=YOUR_API_KEY_HEREResponse
application/json
{ "id": "we_abc123def456", "url": "string", "token": "string", "description": "string", "created_at": "string", "updated_at": "string", "last_used_at": "string", "subscribed_events": [ "employee.created" ] }
- Mock serverhttps://docs.onboarded.com/_mock/openapi/api/v1/webhooks/{webhook_id}
- Onboarded Production Serverhttps://app.onboarded.com/api/v1/webhooks/{webhook_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.onboarded.com/_mock/openapi/api/v1/webhooks/{webhook_id}' \
-H 'Content-Type: application/json' \
-b __session=YOUR_API_KEY_HERE \
-d '{
"description": "string",
"subscribed_events": [
"employee.created"
]
}'Response
application/json
{ "id": "we_abc123def456", "url": "string", "token": "string", "description": "string", "created_at": "string", "updated_at": "string", "last_used_at": "string", "subscribed_events": [ "employee.created" ] }
- Mock serverhttps://docs.onboarded.com/_mock/openapi/api/v1/webhooks/{webhook_id}
- Onboarded Production Serverhttps://app.onboarded.com/api/v1/webhooks/{webhook_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.onboarded.com/_mock/openapi/api/v1/webhooks/{webhook_id}' \
-b __session=YOUR_API_KEY_HEREResponse
application/json
{ "id": "we_abc123def456", "url": "string", "token": "string", "description": "string", "created_at": "string", "updated_at": "string", "last_used_at": "string", "subscribed_events": [ "employee.created" ] }