curl --request POST \
--url https://api.trysynch.com/AstraWebhook \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"webhook_id": "<string>",
"webhook_type": "<string>",
"user_id": "<string>",
"resource_id": "<string>"
}
'curl --request POST \
--url https://api.trysynch.com/AstraWebhook \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"webhook_id": "<string>",
"webhook_type": "<string>",
"user_id": "<string>",
"resource_id": "<string>"
}
'JWT Authorization header using the Bearer scheme.
Use /auth/token to obtain access token.
Enter 'Bearer' [space] and then your token in the text input below.
Example: 'Bearer eyJhbGci...'
OK
Was this page helpful?