cURL
curl --request POST \ --url https://api.gofermata.com/v1/companies/{company_id}/webhooks \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "url": "<string>", "username": "<string>", "password": "<string>" }'
{ "data": { "id": "<string>", "company_id": "<string>", "url": "<string>", "username": "<string>", "password": "<string>", "created_at": "<string>", "updated_at": "<string>" } }
To authenticate against the API, use HTTP Basic Authentication with your customer ID as the username and API key as the password.
OK
The response is of type object.
object