Answer or skip the where-heard question
POST
/api/v1/team/where-heard
const url = 'https://api.deploybase.eu/api/v1/api/v1/team/where-heard';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"channel":"ai_assistant","other_text":"A podcast"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.deploybase.eu/api/v1/api/v1/team/where-heard \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "channel": "ai_assistant", "other_text": "A podcast" }'Owner only. Records one anonymous answer (no team, user or time finer than the month is stored with it) and closes the question; “skip” closes it without an answer. Idempotent: once closed, further calls change nothing and still return 204.
Authorizations
Section titled “ Authorizations ”Request Body
Section titled “ Request Body ”Search, ai_assistant, github, hn_reddit, social, friend, blog_newsletter, directory, event, other, dont_remember or skip
Media type application/json
object
channel
required
string
Example
ai_assistant other_text
string
Example
A podcastResponses
Section titled “ Responses ”No Content
Bad Request
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Unauthorized
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Not the owner, or not a person’s session (API keys and agent tokens cannot answer)
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Live f79d25b6 built