POST
/
v1
/
test
curl --request POST \
  --url https://api.spectropic.ai/v1/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "webhook": "https://quick-ability-06.webhook.cool"
}'
{
  "message": "<string>",
  "success": true
}

Test endpoint. Returns a 200 status code if the server is running and your API key is valid. Also sends a request to the webhook URL you provided in the request body.

Use this endpoint to test your webhook URL and verify that it is working correctly.

Don’t have a webhook URL? Websites like Webhook.cool and Webhook.site can help you create a temporary URL to test your webhook.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
webhook
string

URL to which the test message will be sent

Response

200 - application/json
message
string
success
boolean