Skip to main content
POST
/
api
/
client
/
v2
/
context
Create Context
curl --request POST \
  --url https://prod-nginx-v2.goextrovert.com/webgateway/api/client/v2/context \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "contextAboutCompany": "<string>",
  "contextAboutUser": "<string>"
}
'
{
  "status": "success",
  "data": {
    "id": "8d256aa6-9b12-49a7-93ee-bf41634b5b60"
  },
  "message": "Operation completed successfully"
}

Authorizations

X-API-Key
string
header
required

API Key for authentication

Body

application/json
name
string
required

Short label for the Context (e.g., 'Main product context', 'Enterprise outreach').

Minimum string length: 1
userId
string<uuid>
required

ID of the user that will own the new Context. Usually the current user.

contextAboutCompany
string
required

Free-form plain text about the user's company, product, market, and target audience. Used as context when generating comments and direct messages, and when analyzing incoming posts. An empty string is technically accepted but degrades generation quality.

contextAboutUser
string
required

Free-form plain text about the user themselves — role, background, perspective, voice. Used as context when generating comments and direct messages, and when analyzing incoming posts. An empty string is technically accepted but degrades generation quality.

Response

status
enum<string>
required

Response status

Available options:
success
data
object
required
message
string
required

Success message

Example:

"Operation completed successfully"