Skip to main content
POST
/
api
/
onboardee
/
context
Push onboardee context
curl --request POST \
  --url https://app.coragents.ai/api/onboardee/context/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "onboardee-email@example.com",
  "context": {
    "summary": "Any information.",
    "foo": "bar"
  }
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

API token using the Token scheme. Send the full header value as Token <your-api-token>. Tokens are provisioned by the Cor team.

Body

application/json
email
string<email>
required

Email of the onboardee to attach context to.

Example:

"onboardee-email@example.com"

context
object
required

Free-form context for the agent. Any keys are allowed.

Example:
{
"summary": "Any information.",
"foo": "bar"
}

Response

Context stored.

success
boolean
Example:

true