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

Authorizations

X-API-Key
string
header
required

API Key for authentication

Path Parameters

id
string
required

Body

application/json
id
string<uuid>
required

ID of the existing Context to duplicate.

name
string
required

Name for the new (duplicated) Context.

Minimum string length: 1
userId
string<uuid>
required

ID of the user that will receive the duplicated Context. Can differ from the source Context's user — in that case the copy is created in that user's account.

Response

status
enum<string>
required

Response status

Available options:
success
data
object
required
message
string
required

Success message

Example:

"Operation completed successfully"