Meetings

Create Meeting

POST
/meetings.create

Creates a new meeting record.

Required scopes:

  • meeting:write OR meeting:all

Authorization

auth-token
AuthorizationBearer <token>

All the DevRev APIs require a token to authenticate the user. Provide Authorization: Bearer <TOKEN> as a header to every API request. How do I find my token?

In: header

Request Body

application/json

actual_end_date?string

Time at which the meeting actually ended.

Formatdate-time
actual_start_date?string

Time at which the meeting actually started.

Formatdate-time
ai_agent_id?string

The AI agent whose primary voice agent should back this meeting. Exactly one of voice_agent_id or ai_agent_id must be provided to create a voice-agent meeting; ignored when voice_agent_id is set.

Formatid
artifacts?array<string>

The IDs of the artifacts to associate with the meeting.

caller_context?

Per-call context made available to the voice agent (for example, the caller's display name). Only used for voice-agent meetings.

channel*string

The channel of meeting.

Value in"amazon_connect" | "google_meet" | "offline" | "other" | "teams" | "zoom"
custom_fields?object

Application-defined custom fields.

custom_schema_spec?

Custom schemas described using identifiers. Each custom field in the request must have the corresponding schema specified; omission results in a Bad Request error. If a custom schema is not included in the specifier, it remains unchanged. For surfaces with human interactors, it is recommended to provide tenant_fragment: true and validate_required_fields: true.

description?string

The description of the meeting.

Formattext
ended_date?string

Time at which meeting ended.

Formatdate-time
external_ref?stringDeprecated

External reference for the meeting.

Formattext
external_url?string

External URL for the meeting.

Formattext
locale?string

BCP-47 locale the voice agent should use for the call (for example, "en-US"). Only used for voice-agent meetings.

Formattext
location?string

Where the meeting is held — room, address, or city string from the source.

Formattext
members?array<string>

IDs of the users or groups that were part of the meeting.

Items1 <= items <= 2000
organizer?string

The ID of the user who organized the meeting. If not provided, the creator is set as the organizer.

Formatid
parent?stringDeprecated

The parent object ID in which the meeting was created.

Formatid
recording?string

The ID of the meeting's recording artifact.

Formatid
recording_url?string

The recording URL of the meeting.

Formattext
scheduled_date?string

The date and time when the meeting was scheduled.

Formatdate-time
state*string

The state of meeting.

Value in"canceled" | "completed" | "no_show" | "ongoing" | "rejected" | "rescheduled" | "scheduled" | "waiting"
tags?

Tags associated with the meeting.

timezone?string

IANA timezone of the meeting's scheduled time (e.g. America/Los_Angeles), as provided by the source calendar.

Formattext
title*string

The title of the meeting.

Formattext
transcript?stringDeprecated

The ID of the artifact for the transcript of the meeting.

Formatid
transcript_article?string

The article for the transcript of the meeting.

Formatid
voice_agent_id?string

The voice agent for the meeting. Exactly one of voice_agent_id or ai_agent_id must be provided to create a voice-agent meeting; voice_agent_id takes precedence when both are.

Formatid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.devrev.ai/meetings.create" \  -H "Content-Type: application/json" \  -d '{    "channel": "amazon_connect",    "state": "canceled",    "title": "string"  }'
{
  "meeting": {
    "created_by": {
      "type": "dev_user",
      "display_id": "string",
      "id": "string",
      "display_name": "string",
      "display_picture": {
        "display_id": "string",
        "id": "string",
        "file": {
          "type": "string",
          "name": "string",
          "size": 0
        }
      },
      "email": "string",
      "full_name": "string",
      "state": "active"
    },
    "created_date": "2023-01-01T12:00:00.000Z",
    "display_id": "string",
    "id": "string",
    "modified_by": {
      "type": "dev_user",
      "display_id": "string",
      "id": "string",
      "display_name": "string",
      "display_picture": {
        "display_id": "string",
        "id": "string",
        "file": {
          "type": "string",
          "name": "string",
          "size": 0
        }
      },
      "email": "string",
      "full_name": "string",
      "state": "active"
    },
    "modified_date": "2023-01-01T12:00:00.000Z",
    "object_version": 0,
    "actual_end_date": "2023-01-01T12:00:00.000Z",
    "actual_start_date": "2023-01-01T12:00:00.000Z",
    "artifacts": [
      {
        "display_id": "string",
        "id": "string",
        "file": {
          "type": "string",
          "name": "string",
          "size": 0
        }
      }
    ],
    "channel": "amazon_connect",
    "custom_fields": {},
    "custom_schema_fragments": [
      "don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id"
    ],
    "description": "string",
    "devrev_copy": {
      "last_synced_date": "2023-01-01T12:00:00.000Z",
      "origin_id": "string",
      "origin_org_id": "string"
    },
    "direction": "incoming",
    "ended_date": "2023-01-01T12:00:00.000Z",
    "external_ref": "string",
    "external_refs": [
      "string"
    ],
    "external_url": "string",
    "is_archived": true,
    "location": "string",
    "members": [
      {
        "type": "account",
        "display_id": "string",
        "id": "string",
        "display_name": "string"
      }
    ],
    "organizer": {
      "type": "account",
      "display_id": "string",
      "id": "string",
      "display_name": "string"
    },
    "parent": {
      "type": "account",
      "display_id": "string",
      "id": "string",
      "display_name": "string"
    },
    "primary_meeting": {
      "display_id": "string",
      "id": "string",
      "sync_metadata": {
        "external_reference": "string",
        "last_sync_in": {
          "status": "failed",
          "sync_unit": {
            "display_id": "string",
            "id": "string",
            "external_sync_unit_name": "string",
            "external_system_id": "string",
            "external_system_name": "string",
            "external_system_type": "adaas",
            "is_archived": true,
            "is_hidden": true,
            "name": "string",
            "sync_run": {
              "mode": "initial",
              "progress": {
                "state": "completed"
              },
              "reserved_rate_limit_percentage": 0
            },
            "sync_type": "manual"
          }
        },
        "origin_system": "string"
      },
      "title": "string"
    },
    "recording": {
      "display_id": "string",
      "id": "string",
      "file": {
        "type": "string",
        "name": "string",
        "size": 0
      }
    },
    "recording_url": "string",
    "scheduled_date": "2023-01-01T12:00:00.000Z",
    "source_date": "2023-01-01T12:00:00.000Z",
    "state": "canceled",
    "stock_schema_fragment": "don:core:dvrv-us-1:devo/example:custom_type_fragment/custom-type-fragment-id",
    "subtype": "string",
    "sync_metadata": {
      "external_record_id": "string",
      "external_record_type": "string",
      "external_reference": "string",
      "last_sync_in": {
        "status": "failed",
        "sync_date": "2023-01-01T12:00:00.000Z",
        "sync_unit": {
          "display_id": "string",
          "id": "string",
          "external_sync_unit_name": "string",
          "external_system_id": "string",
          "external_system_name": "string",
          "external_system_type": "adaas",
          "is_archived": true,
          "is_hidden": true,
          "name": "string",
          "sync_run": {
            "mode": "initial",
            "progress": {
              "state": "completed"
            },
            "reserved_rate_limit_percentage": 0
          },
          "sync_type": "manual"
        }
      },
      "last_sync_out": {
        "status": "failed",
        "sync_date": "2023-01-01T12:00:00.000Z",
        "sync_unit": {
          "display_id": "string",
          "id": "string",
          "external_sync_unit_name": "string",
          "external_system_id": "string",
          "external_system_name": "string",
          "external_system_type": "adaas",
          "is_archived": true,
          "is_hidden": true,
          "name": "string",
          "sync_run": {
            "mode": "initial",
            "progress": {
              "state": "completed"
            },
            "reserved_rate_limit_percentage": 0
          },
          "sync_type": "manual"
        }
      },
      "origin_system": "string",
      "origin_system_instance_id": "string"
    },
    "tags": [
      {
        "tag": {
          "display_id": "string",
          "id": "string",
          "name": "string",
          "style_new": {
            "color": "string"
          },
          "sync_metadata": {
            "external_reference": "string",
            "last_sync_in": {
              "status": "failed",
              "sync_unit": {
                "display_id": "string",
                "id": "string",
                "external_sync_unit_name": "string",
                "external_system_id": "string",
                "external_system_name": "string",
                "external_system_type": "adaas",
                "is_archived": true,
                "is_hidden": true,
                "name": "string",
                "sync_run": {
                  "mode": "initial",
                  "progress": {
                    "state": "completed"
                  },
                  "reserved_rate_limit_percentage": 0
                },
                "sync_type": "manual"
              }
            },
            "origin_system": "string"
          }
        },
        "value": "string"
      }
    ],
    "timezone": "string",
    "title": "string",
    "transcript": {
      "display_id": "string",
      "id": "string",
      "file": {
        "type": "string",
        "name": "string",
        "size": 0
      }
    },
    "transcript_article": {
      "display_id": "string",
      "id": "string",
      "article_type": "article",
      "resource": {
        "artifacts": [
          {
            "display_id": "string",
            "id": "string",
            "file": {
              "type": "string",
              "name": "string",
              "size": 0
            }
          }
        ],
        "url": "string"
      },
      "sync_metadata": {
        "external_reference": "string",
        "last_sync_in": {
          "status": "failed",
          "sync_unit": {
            "display_id": "string",
            "id": "string",
            "external_sync_unit_name": "string",
            "external_system_id": "string",
            "external_system_name": "string",
            "external_system_type": "adaas",
            "is_archived": true,
            "is_hidden": true,
            "name": "string",
            "sync_run": {
              "mode": "initial",
              "progress": {
                "state": "completed"
              },
              "reserved_rate_limit_percentage": 0
            },
            "sync_type": "manual"
          }
        },
        "origin_system": "string"
      },
      "title": "string",
      "translation_group": "string"
    },
    "visibility": {
      "color": "string",
      "id": 0,
      "label": "string",
      "ordinal": 0,
      "value": null
    }
  },
  "voice_join": {
    "expires_at": "2023-01-01T12:00:00.000Z",
    "token": "string"
  }
}
{
  "detail": "string",
  "message": "string",
  "type": "artifact_already_attached_to_a_parent",
  "existing_parent": "string",
  "is_same": true
}
{
  "detail": "string",
  "message": "string",
  "type": "dev_org_deactivated"
}
{
  "detail": "string",
  "message": "string",
  "type": "forbidden",
  "object_ids": [
    "string"
  ]
}
{
  "detail": "string",
  "message": "string",
  "type": "request_entity_too_large",
  "max_bytes": 0
}
{
  "detail": "string",
  "message": "string",
  "type": "too_many_requests",
  "retry_after": 0
}
{
  "detail": "string",
  "message": "string",
  "type": "internal_error",
  "reference_id": "string"
}
{
  "detail": "string",
  "message": "string",
  "type": "service_unavailable"
}