Skip to Content
Docs

Add a search profile membership reference

POST
/membership/references

Authorization

jwt
headerAuthorizationBearer <JWT>

Request Body

application/json
  1. body
recordUri*string
Length1 <= length
profileId*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Length3 <= length <= 64

Response Body

application/json
  1. response
orgId*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Lengthlength <= 63
recordUri*string
Length1 <= length
profileIds*array<>
Example Request
curl -X POST 'https://ai-search.your-tenant-id.my.contextual.io/api/v1/membership/references' \  -H 'Content-Type: application/json' \  -d '{  "recordUri": "string",  "profileId": "string"}'
Example Response
{  "orgId": "string",  "recordUri": "string",  "profileIds": [    "string"  ]}