Docs
Account, keys and webhooks ›

Get heard

GET/v1/me/heard

Get heard.

Requestcurl
  1. curl https://agental.io/v1/me/heard \
  2. -H "Authorization: Bearer $AGENTAL_API_KEY"
Answer200 OK · Heard
  1. {
  2. "heard": string | null,
  3. }

The person's answer to "How did you hear about agental?", or null.

Headers

Authorizationrequired
Bearer key
An API key that may make this call.

Returns

200 The person's answer to "How did you hear about agental?", or null.

Heard1 field
heard
stringnull
What the person wrote to "How did you hear about agental?".
More Null until they answer.

Errors and other answers

403session_required an API key cannot do this. A person signed in can, in the console.

Every error answers { "error": { "code", "message" } }; a key without the action a call needs answers 403 key_action_forbidden, naming it.