Omnia docs
REST APIProject

Open Project Conversation

Open the caller's private Conversation for this Project, creating it if necessary. Repeated calls return the same Conversation. Project reads do not create Conversations.

POST
/api/v1/projects/{project}/conversation

Authorization

BearerAuth
AuthorizationBearer <token>

API token authentication. Use format: Bearer ot_your-token-here

In: header

Path Parameters

project*string

The Project's id, or its reference (PRJ-42) together with brand. A reference is case-insensitive.

Query Parameters

brand?string

Brand the Project belongs to. Required when project is a reference, since each brand numbers its Projects from PRJ-1; ignored when project is an id.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.useomnia.com/api/v1/projects/550e8400-e29b-41d4-a716-446655440000/conversation"
{
  "data": {
    "conversationId": "ee6e55e8-45fe-4a3e-9bc8-4669f9fdf77a"
  }
}
{
  "error": {
    "code": 1002,
    "description": "Invalid input parameters"
  }
}
{
  "error": {
    "code": 1004,
    "description": "Invalid or expired API token"
  }
}
{
  "error": {
    "code": 1006,
    "description": "Item not found"
  }
}
{
  "error": {
    "code": 1001,
    "description": "Internal error"
  }
}