> For the complete documentation index, see [llms.txt](https://docs.usepylon.com/pylon-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.usepylon.com/pylon-docs/developer/api/api-reference/call-recordings.md).

# Call Recordings

## Create a call recording

> Creates a call recording from your own call recorder. Set app\_type to \`custom\_call\_recorder\`; the Custom Call Recorder integration must be enabled for your organization, or the request returns 400. start\_time, end\_time, and at least one call\_recording\_messages entry are required. Every speaker\_email must appear in participant\_emails or match primary\_user\_email. The recording is linked to account\_id if provided, otherwise to an account matched from the participant emails. Reusing a recording\_id returns the existing recording unchanged.\
> \
> \*\*Rate limit:\*\* 30 requests per minute

```json
{"openapi":"3.0.3","info":{"title":"Pylon API.","version":"1.0.0"},"tags":[],"servers":[{"description":"US region","url":"https://api.usepylon.com"},{"description":"EU region","url":"https://api.eu.usepylon.com"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"description":"Authorization: Bearer <token>","scheme":"bearer","type":"http"}},"schemas":{"CreateCallRecordingRequest":{"properties":{"account_id":{"description":"The ID of the account to link this call recording to. If provided, the participant emails are not used for account matching, and an unknown ID returns 400. If omitted, Pylon matches an account from the participant emails, ignoring your organization's own domains; the recording is created without an account if none matches.","type":"string"},"app_type":{"description":"The source of the recording. Must be `custom_call_recorder`, which requires the Custom Call Recorder integration to be enabled.","enum":["custom_call_recorder"],"type":"string"},"call_recording_messages":{"description":"The transcript, one entry per utterance. `custom_call_recorder` takes its transcript only from this field and ignores a plain-text transcript.","items":{"$ref":"#/components/schemas/CreateCallRecordingMessageRequest"},"minItems":1,"type":"array"},"custom_fields":{"description":"Custom fields to set on the call recording. Use slugs from GET /custom-fields?object_type=meeting. Each entry needs a slug and either value or values, not both.","items":{"$ref":"#/components/schemas/CustomFieldValue"},"type":"array"},"end_time":{"description":"When the call ended, in RFC3339 format (e.g. 2025-01-01T01:00:00Z).","format":"date-time","type":"string"},"participant_emails":{"description":"Comma-separated emails of everyone on the call (e.g. \"alice@customer.com,bob@yourcompany.com\"). Used to match the account when account_id is omitted. Every speaker_email in call_recording_messages must be in this list or match primary_user_email.","type":"string"},"primary_user_email":{"description":"The email of the Pylon user who owns the recording. Counted as a participant, so it does not need to be repeated in participant_emails.","type":"string"},"recording_id":{"description":"Your unique ID for this recording. Pylon deduplicates on recording_id and app_type: a request that reuses a recording_id returns the existing recording unchanged. Send a unique value for every call; if you omit it, every request after the first returns the same recording.","type":"string"},"recording_url":{"description":"A link to the recording in your call recorder. Maximum 255 characters.","type":"string"},"start_time":{"description":"When the call started, in RFC3339 format (e.g. 2025-01-01T00:00:00Z).","format":"date-time","type":"string"},"title":{"description":"The title of the call recording.","type":"string"}},"required":["app_type","call_recording_messages","start_time","end_time"],"type":"object"},"CreateCallRecordingMessageRequest":{"properties":{"message_at_ms":{"description":"When the message starts, in milliseconds from start_time. Must be zero or greater.","format":"int64","type":"integer"},"message_content":{"description":"What the speaker said. Must not be empty.","type":"string"},"speaker_email":{"description":"The speaker's email. Must appear in participant_emails or match primary_user_email (case-insensitive). Each message needs speaker_email, speaker_name, or both.","type":"string"},"speaker_name":{"description":"The speaker's display name. Each message needs speaker_email, speaker_name, or both.","type":"string"}},"required":["message_content"],"type":"object"},"CustomFieldValue":{"description":"A custom field value to set. Custom fields not listed in a write request are left unchanged.","properties":{"slug":{"description":"The slug of the custom field.","type":"string"},"value":{"description":"The value of the custom field. Only to be used for single-valued custom fields. If unset, the custom field will be unset. If the custom field is a select field, the value must be the select option slug, which you can find from the GET /custom-fields endpoint. If the custom field is a relationship field, the value must be the related object ID.","type":"string"},"values":{"description":"The values of the custom field. Only to be used for multi-valued custom fields (ex. multiselect). Replaces the full selection; it does not add to or remove from the existing values. If unset, the custom field will be unset. If the custom field is a multiselect field, the values must be the select option slugs which you can find from the GET /custom-fields endpoint.","items":{"type":"string"},"type":"array"}},"title":"CustomFieldValue","type":"object"},"CreateCallRecordingResponseBody":{"properties":{"data":{"$ref":"#/components/schemas/CallRecording"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"required":["data","request_id"],"type":"object"},"CallRecording":{"properties":{"account_id":{"description":"The account ID associated with the call recording.","nullable":true,"type":"string"},"calendar_event_id":{"description":"The calendar event ID associated with the call recording.","nullable":true,"type":"string"},"created_at":{"description":"The creation time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"custom_fields":{"additionalProperties":{"$ref":"#/components/schemas/CustomFieldValue"},"description":"Custom fields associated with the call recording.","nullable":true,"type":"object"},"duration_ms":{"description":"The duration of the call recording in milliseconds.","format":"int64","type":"integer"},"end_time":{"description":"The end time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"external_id":{"description":"The external ID of the call recording from the source system.","type":"string"},"id":{"description":"The ID of the call recording.","type":"string"},"participant_emails":{"description":"The participant emails of the call recording.","items":{"type":"string"},"nullable":true,"type":"array"},"source":{"description":"The source of the call recording (e.g. fathom, gong, grain, granola, custom_call_recorder).","type":"string"},"start_time":{"description":"The start time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"summary":{"description":"The summary of the call recording.","type":"string"},"title":{"description":"The title of the call recording.","type":"string"},"updated_at":{"description":"The last update time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"url":{"description":"The URL of the call recording.","type":"string"}},"required":["created_at","duration_ms","end_time","external_id","id","source","start_time","summary","title","updated_at","url"],"type":"object"},"ErrorApiResponseBody":{"properties":{"code":{"description":"A stable machine-readable identifier for this failure, safe to branch on\ninstead of the message text. Omitted when the failure has no assigned code.\n\nKnown values: `recipients_suppressed`, `email_bounced`, `internal_issue_reply_not_allowed`, `duplicate_object`, `invalid_authorization_header`, `invalid_api_token`, `invalid_oauth_token`, `wrong_region_token`, `organization_deactivated`, `organization_suspended`, `permission_denied`, `oauth_not_permitted`, `rate_limited`, `not_found`, `method_not_allowed`, `payload_too_large`, `invalid_request_body`, `internal_error`, `invalid_webhook_credentials`, `organization_inactive`. This list is not exhaustive.","type":"string"},"errors":{"description":"The list of errors.","items":{"type":"string"},"type":"array"},"exists_id":{"description":"The ID of the object that already exists if this is a duplicate object error.","type":"string"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"required":["request_id"],"type":"object"}},"responses":{"CreateCallRecordingResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCallRecordingResponseBody"}}},"description":""},"BadRequestApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request was invalid or could not be completed."},"UnauthorizedApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request could not be authenticated for this API."},"ForbiddenApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The authenticated caller or organization is not allowed to access this endpoint or operation."},"ErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":""},"TooManyRequestsApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request exceeded the applicable rate limit.","headers":{"Retry-After":{"description":"Seconds until the next request to this endpoint is permitted.","schema":{"format":"int64","type":"integer"}},"X-Retry-After":{"description":"Seconds until the full per-minute allowance is restored. Capacity returns gradually before then.","schema":{"format":"int64","type":"integer"}}}},"InternalServerErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"An unexpected internal error occurred."}}},"paths":{"/call-recordings":{"post":{"description":"Creates a call recording from your own call recorder. Set app_type to `custom_call_recorder`; the Custom Call Recorder integration must be enabled for your organization, or the request returns 400. start_time, end_time, and at least one call_recording_messages entry are required. Every speaker_email must appear in participant_emails or match primary_user_email. The recording is linked to account_id if provided, otherwise to an account matched from the participant emails. Reusing a recording_id returns the existing recording unchanged.\n\n**Rate limit:** 30 requests per minute","operationId":"CreateCallRecording","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCallRecordingRequest"}}}},"responses":{"200":{"$ref":"#/components/responses/CreateCallRecordingResponse"},"400":{"$ref":"#/components/responses/BadRequestApiResponse"},"401":{"$ref":"#/components/responses/UnauthorizedApiResponse"},"403":{"$ref":"#/components/responses/ForbiddenApiResponse"},"404":{"$ref":"#/components/responses/ErrorApiResponse"},"409":{"$ref":"#/components/responses/ErrorApiResponse"},"429":{"$ref":"#/components/responses/TooManyRequestsApiResponse"},"500":{"$ref":"#/components/responses/InternalServerErrorApiResponse"}},"summary":"Create a call recording","tags":["call-recordings"]}}}}
```

## Get a call recording by its ID

> Returns a single call recording by ID.\
> \
> \*\*Rate limit:\*\* 300 requests per minute

```json
{"openapi":"3.0.3","info":{"title":"Pylon API.","version":"1.0.0"},"tags":[],"servers":[{"description":"US region","url":"https://api.usepylon.com"},{"description":"EU region","url":"https://api.eu.usepylon.com"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"description":"Authorization: Bearer <token>","scheme":"bearer","type":"http"}},"responses":{"GetCallRecordingResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCallRecordingResponseBody"}}},"description":""},"BadRequestApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request was invalid or could not be completed."},"UnauthorizedApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request could not be authenticated for this API."},"ForbiddenApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The authenticated caller or organization is not allowed to access this endpoint or operation."},"ErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":""},"TooManyRequestsApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request exceeded the applicable rate limit.","headers":{"Retry-After":{"description":"Seconds until the next request to this endpoint is permitted.","schema":{"format":"int64","type":"integer"}},"X-Retry-After":{"description":"Seconds until the full per-minute allowance is restored. Capacity returns gradually before then.","schema":{"format":"int64","type":"integer"}}}},"InternalServerErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"An unexpected internal error occurred."}},"schemas":{"GetCallRecordingResponseBody":{"properties":{"data":{"$ref":"#/components/schemas/CallRecording"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"required":["data","request_id"],"type":"object"},"CallRecording":{"properties":{"account_id":{"description":"The account ID associated with the call recording.","nullable":true,"type":"string"},"calendar_event_id":{"description":"The calendar event ID associated with the call recording.","nullable":true,"type":"string"},"created_at":{"description":"The creation time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"custom_fields":{"additionalProperties":{"$ref":"#/components/schemas/CustomFieldValue"},"description":"Custom fields associated with the call recording.","nullable":true,"type":"object"},"duration_ms":{"description":"The duration of the call recording in milliseconds.","format":"int64","type":"integer"},"end_time":{"description":"The end time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"external_id":{"description":"The external ID of the call recording from the source system.","type":"string"},"id":{"description":"The ID of the call recording.","type":"string"},"participant_emails":{"description":"The participant emails of the call recording.","items":{"type":"string"},"nullable":true,"type":"array"},"source":{"description":"The source of the call recording (e.g. fathom, gong, grain, granola, custom_call_recorder).","type":"string"},"start_time":{"description":"The start time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"summary":{"description":"The summary of the call recording.","type":"string"},"title":{"description":"The title of the call recording.","type":"string"},"updated_at":{"description":"The last update time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"url":{"description":"The URL of the call recording.","type":"string"}},"required":["created_at","duration_ms","end_time","external_id","id","source","start_time","summary","title","updated_at","url"],"type":"object"},"CustomFieldValue":{"description":"A custom field value to set. Custom fields not listed in a write request are left unchanged.","properties":{"slug":{"description":"The slug of the custom field.","type":"string"},"value":{"description":"The value of the custom field. Only to be used for single-valued custom fields. If unset, the custom field will be unset. If the custom field is a select field, the value must be the select option slug, which you can find from the GET /custom-fields endpoint. If the custom field is a relationship field, the value must be the related object ID.","type":"string"},"values":{"description":"The values of the custom field. Only to be used for multi-valued custom fields (ex. multiselect). Replaces the full selection; it does not add to or remove from the existing values. If unset, the custom field will be unset. If the custom field is a multiselect field, the values must be the select option slugs which you can find from the GET /custom-fields endpoint.","items":{"type":"string"},"type":"array"}},"title":"CustomFieldValue","type":"object"},"ErrorApiResponseBody":{"properties":{"code":{"description":"A stable machine-readable identifier for this failure, safe to branch on\ninstead of the message text. Omitted when the failure has no assigned code.\n\nKnown values: `recipients_suppressed`, `email_bounced`, `internal_issue_reply_not_allowed`, `duplicate_object`, `invalid_authorization_header`, `invalid_api_token`, `invalid_oauth_token`, `wrong_region_token`, `organization_deactivated`, `organization_suspended`, `permission_denied`, `oauth_not_permitted`, `rate_limited`, `not_found`, `method_not_allowed`, `payload_too_large`, `invalid_request_body`, `internal_error`, `invalid_webhook_credentials`, `organization_inactive`. This list is not exhaustive.","type":"string"},"errors":{"description":"The list of errors.","items":{"type":"string"},"type":"array"},"exists_id":{"description":"The ID of the object that already exists if this is a duplicate object error.","type":"string"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"required":["request_id"],"type":"object"}}},"paths":{"/call-recordings/{id}":{"get":{"description":"Returns a single call recording by ID.\n\n**Rate limit:** 300 requests per minute","operationId":"GetCallRecording","parameters":[{"description":"The ID of the call recording to fetch.","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/GetCallRecordingResponse"},"400":{"$ref":"#/components/responses/BadRequestApiResponse"},"401":{"$ref":"#/components/responses/UnauthorizedApiResponse"},"403":{"$ref":"#/components/responses/ForbiddenApiResponse"},"404":{"$ref":"#/components/responses/ErrorApiResponse"},"429":{"$ref":"#/components/responses/TooManyRequestsApiResponse"},"500":{"$ref":"#/components/responses/InternalServerErrorApiResponse"}},"summary":"Get a call recording by its ID","tags":["call-recordings"]}}}}
```

## Update a call recording

> Updates a call recording by ID. Only provided fields are modified.\
> \
> \*\*Rate limit:\*\* 120 requests per minute

```json
{"openapi":"3.0.3","info":{"title":"Pylon API.","version":"1.0.0"},"tags":[],"servers":[{"description":"US region","url":"https://api.usepylon.com"},{"description":"EU region","url":"https://api.eu.usepylon.com"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"description":"Authorization: Bearer <token>","scheme":"bearer","type":"http"}},"schemas":{"UpdateCallRecordingRequestBody":{"properties":{"account_id":{"description":"The account ID to associate with the call recording. Pass an empty string to remove the account association.","type":"string"},"custom_fields":{"description":"An array of custom fields to set on the call recording. Only passed in fields will be modified.","items":{"$ref":"#/components/schemas/CustomFieldValue"},"type":"array"}},"type":"object"},"CustomFieldValue":{"description":"A custom field value to set. Custom fields not listed in a write request are left unchanged.","properties":{"slug":{"description":"The slug of the custom field.","type":"string"},"value":{"description":"The value of the custom field. Only to be used for single-valued custom fields. If unset, the custom field will be unset. If the custom field is a select field, the value must be the select option slug, which you can find from the GET /custom-fields endpoint. If the custom field is a relationship field, the value must be the related object ID.","type":"string"},"values":{"description":"The values of the custom field. Only to be used for multi-valued custom fields (ex. multiselect). Replaces the full selection; it does not add to or remove from the existing values. If unset, the custom field will be unset. If the custom field is a multiselect field, the values must be the select option slugs which you can find from the GET /custom-fields endpoint.","items":{"type":"string"},"type":"array"}},"title":"CustomFieldValue","type":"object"},"UpdateCallRecordingResponseBody":{"properties":{"data":{"$ref":"#/components/schemas/CallRecording"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"required":["data","request_id"],"type":"object"},"CallRecording":{"properties":{"account_id":{"description":"The account ID associated with the call recording.","nullable":true,"type":"string"},"calendar_event_id":{"description":"The calendar event ID associated with the call recording.","nullable":true,"type":"string"},"created_at":{"description":"The creation time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"custom_fields":{"additionalProperties":{"$ref":"#/components/schemas/CustomFieldValue"},"description":"Custom fields associated with the call recording.","nullable":true,"type":"object"},"duration_ms":{"description":"The duration of the call recording in milliseconds.","format":"int64","type":"integer"},"end_time":{"description":"The end time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"external_id":{"description":"The external ID of the call recording from the source system.","type":"string"},"id":{"description":"The ID of the call recording.","type":"string"},"participant_emails":{"description":"The participant emails of the call recording.","items":{"type":"string"},"nullable":true,"type":"array"},"source":{"description":"The source of the call recording (e.g. fathom, gong, grain, granola, custom_call_recorder).","type":"string"},"start_time":{"description":"The start time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"summary":{"description":"The summary of the call recording.","type":"string"},"title":{"description":"The title of the call recording.","type":"string"},"updated_at":{"description":"The last update time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"url":{"description":"The URL of the call recording.","type":"string"}},"required":["created_at","duration_ms","end_time","external_id","id","source","start_time","summary","title","updated_at","url"],"type":"object"},"ErrorApiResponseBody":{"properties":{"code":{"description":"A stable machine-readable identifier for this failure, safe to branch on\ninstead of the message text. Omitted when the failure has no assigned code.\n\nKnown values: `recipients_suppressed`, `email_bounced`, `internal_issue_reply_not_allowed`, `duplicate_object`, `invalid_authorization_header`, `invalid_api_token`, `invalid_oauth_token`, `wrong_region_token`, `organization_deactivated`, `organization_suspended`, `permission_denied`, `oauth_not_permitted`, `rate_limited`, `not_found`, `method_not_allowed`, `payload_too_large`, `invalid_request_body`, `internal_error`, `invalid_webhook_credentials`, `organization_inactive`. This list is not exhaustive.","type":"string"},"errors":{"description":"The list of errors.","items":{"type":"string"},"type":"array"},"exists_id":{"description":"The ID of the object that already exists if this is a duplicate object error.","type":"string"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"required":["request_id"],"type":"object"}},"responses":{"UpdateCallRecordingResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCallRecordingResponseBody"}}},"description":""},"BadRequestApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request was invalid or could not be completed."},"UnauthorizedApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request could not be authenticated for this API."},"ForbiddenApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The authenticated caller or organization is not allowed to access this endpoint or operation."},"ErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":""},"TooManyRequestsApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request exceeded the applicable rate limit.","headers":{"Retry-After":{"description":"Seconds until the next request to this endpoint is permitted.","schema":{"format":"int64","type":"integer"}},"X-Retry-After":{"description":"Seconds until the full per-minute allowance is restored. Capacity returns gradually before then.","schema":{"format":"int64","type":"integer"}}}},"InternalServerErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"An unexpected internal error occurred."}}},"paths":{"/call-recordings/{id}":{"patch":{"description":"Updates a call recording by ID. Only provided fields are modified.\n\n**Rate limit:** 120 requests per minute","operationId":"UpdateCallRecording","parameters":[{"description":"The ID of the call recording to update.","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCallRecordingRequestBody"}}}},"responses":{"200":{"$ref":"#/components/responses/UpdateCallRecordingResponse"},"400":{"$ref":"#/components/responses/BadRequestApiResponse"},"401":{"$ref":"#/components/responses/UnauthorizedApiResponse"},"403":{"$ref":"#/components/responses/ForbiddenApiResponse"},"404":{"$ref":"#/components/responses/ErrorApiResponse"},"429":{"$ref":"#/components/responses/TooManyRequestsApiResponse"},"500":{"$ref":"#/components/responses/InternalServerErrorApiResponse"}},"summary":"Update a call recording","tags":["call-recordings"]}}}}
```

## Search for call recordings by a given filter

> Filterable fields and their allowed operators:\
> \
> &#x20;Field | Allowed operators |\
> &#x20;\--- | --- |\
> &#x20;\`account\_id\` | \`equals\`, \`in\`, \`not\_in\`, \`is\_set\`, \`is\_unset\` |\
> &#x20;\`source\` | \`equals\`, \`in\`, \`not\_in\` |\
> &#x20;\`title\` | \`equals\`, \`string\_contains\` |\
> &#x20;\`start\_time\` | \`time\_is\_after\`, \`time\_is\_before\`, \`time\_range\` |\
> \
> Timestamp values use RFC3339 format.\
> \
> \*\*Rate limit:\*\* 120 requests per minute

```json
{"openapi":"3.0.3","info":{"title":"Pylon API.","version":"1.0.0"},"tags":[],"servers":[{"description":"US region","url":"https://api.usepylon.com"},{"description":"EU region","url":"https://api.eu.usepylon.com"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"description":"Authorization: Bearer <token>","scheme":"bearer","type":"http"}},"schemas":{"SearchCallRecordingsRequest":{"properties":{"cursor":{"description":"The cursor to use for pagination.","type":"string"},"filter":{"$ref":"#/components/schemas/Filter"},"limit":{"description":"The number of call recordings to fetch. Defaults to 100. Must be greater than 0 and less than or equal to 1000.","format":"int64","type":"integer"}},"type":"object"},"Filter":{"properties":{"field":{"description":"The field for this filter.  For allowed fields, see the documentation for\nthe specific endpoint you are using.\nFor non-compound filters (any operators other than \"and\" or \"or\"),\nfield must be set, along with either value or values, depending on the operator.","type":"string"},"operator":{"description":"The operator for this filter.","enum":["equals","not_equals","contains","does_not_contain","in","not_in","and","or","time_is_after","time_is_before","time_range","string_contains","string_does_not_contain","is_set","is_unset","greater_than","less_than","greater_than_or_equals","less_than_or_equals","includes_all_of","starts_with","ends_with"],"type":"string"},"subfilters":{"description":"Sub-filters for this filter.  Valid only when operator is \"and\" or \"or\".\nThe maximum allowed depth for a tree of filters is 3, counting the top-level filter.","items":{"$ref":"#/components/schemas/Filter"},"type":"array"},"value":{"description":"The value for this filter. Used by single-valued operators: \"equals\", \"not_equals\",\n\"contains\", \"does_not_contain\", \"string_contains\", \"string_does_not_contain\",\n\"starts_with\", \"ends_with\", \"time_is_after\", \"time_is_before\", \"greater_than\",\n\"less_than\", \"greater_than_or_equals\", and \"less_than_or_equals\".","type":"string"},"values":{"description":"The values for this filter. Used by multi-valued operators: \"in\", \"not_in\", and\n\"includes_all_of\". For \"time_range\", set to [start, end].","items":{"type":"string"},"type":"array"}},"required":["operator"],"type":"object"},"SearchCallRecordingsResponseBody":{"properties":{"data":{"description":"The data payload of the response.","items":{"$ref":"#/components/schemas/CallRecording"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"required":["data","request_id"],"type":"object"},"CallRecording":{"properties":{"account_id":{"description":"The account ID associated with the call recording.","nullable":true,"type":"string"},"calendar_event_id":{"description":"The calendar event ID associated with the call recording.","nullable":true,"type":"string"},"created_at":{"description":"The creation time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"custom_fields":{"additionalProperties":{"$ref":"#/components/schemas/CustomFieldValue"},"description":"Custom fields associated with the call recording.","nullable":true,"type":"object"},"duration_ms":{"description":"The duration of the call recording in milliseconds.","format":"int64","type":"integer"},"end_time":{"description":"The end time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"external_id":{"description":"The external ID of the call recording from the source system.","type":"string"},"id":{"description":"The ID of the call recording.","type":"string"},"participant_emails":{"description":"The participant emails of the call recording.","items":{"type":"string"},"nullable":true,"type":"array"},"source":{"description":"The source of the call recording (e.g. fathom, gong, grain, granola, custom_call_recorder).","type":"string"},"start_time":{"description":"The start time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"summary":{"description":"The summary of the call recording.","type":"string"},"title":{"description":"The title of the call recording.","type":"string"},"updated_at":{"description":"The last update time of the call recording in RFC3339 format.","format":"date-time","type":"string"},"url":{"description":"The URL of the call recording.","type":"string"}},"required":["created_at","duration_ms","end_time","external_id","id","source","start_time","summary","title","updated_at","url"],"type":"object"},"CustomFieldValue":{"description":"A custom field value to set. Custom fields not listed in a write request are left unchanged.","properties":{"slug":{"description":"The slug of the custom field.","type":"string"},"value":{"description":"The value of the custom field. Only to be used for single-valued custom fields. If unset, the custom field will be unset. If the custom field is a select field, the value must be the select option slug, which you can find from the GET /custom-fields endpoint. If the custom field is a relationship field, the value must be the related object ID.","type":"string"},"values":{"description":"The values of the custom field. Only to be used for multi-valued custom fields (ex. multiselect). Replaces the full selection; it does not add to or remove from the existing values. If unset, the custom field will be unset. If the custom field is a multiselect field, the values must be the select option slugs which you can find from the GET /custom-fields endpoint.","items":{"type":"string"},"type":"array"}},"title":"CustomFieldValue","type":"object"},"Pagination":{"description":"Pagination information for list responses. Absent when there are no more results.","properties":{"cursor":{"description":"The cursor for the next page of results.","type":"string"},"has_next_page":{"description":"Indicates if there is a next page of results.","type":"boolean"}},"required":["cursor","has_next_page"],"title":"Pagination","type":"object"},"ErrorApiResponseBody":{"properties":{"code":{"description":"A stable machine-readable identifier for this failure, safe to branch on\ninstead of the message text. Omitted when the failure has no assigned code.\n\nKnown values: `recipients_suppressed`, `email_bounced`, `internal_issue_reply_not_allowed`, `duplicate_object`, `invalid_authorization_header`, `invalid_api_token`, `invalid_oauth_token`, `wrong_region_token`, `organization_deactivated`, `organization_suspended`, `permission_denied`, `oauth_not_permitted`, `rate_limited`, `not_found`, `method_not_allowed`, `payload_too_large`, `invalid_request_body`, `internal_error`, `invalid_webhook_credentials`, `organization_inactive`. This list is not exhaustive.","type":"string"},"errors":{"description":"The list of errors.","items":{"type":"string"},"type":"array"},"exists_id":{"description":"The ID of the object that already exists if this is a duplicate object error.","type":"string"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"required":["request_id"],"type":"object"}},"responses":{"SearchCallRecordingsResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchCallRecordingsResponseBody"}}},"description":""},"BadRequestApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request was invalid or could not be completed."},"UnauthorizedApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request could not be authenticated for this API."},"ForbiddenApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The authenticated caller or organization is not allowed to access this endpoint or operation."},"TooManyRequestsApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request exceeded the applicable rate limit.","headers":{"Retry-After":{"description":"Seconds until the next request to this endpoint is permitted.","schema":{"format":"int64","type":"integer"}},"X-Retry-After":{"description":"Seconds until the full per-minute allowance is restored. Capacity returns gradually before then.","schema":{"format":"int64","type":"integer"}}}},"InternalServerErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"An unexpected internal error occurred."}}},"paths":{"/call-recordings/search":{"post":{"description":"Filterable fields and their allowed operators:\n\n Field | Allowed operators |\n --- | --- |\n `account_id` | `equals`, `in`, `not_in`, `is_set`, `is_unset` |\n `source` | `equals`, `in`, `not_in` |\n `title` | `equals`, `string_contains` |\n `start_time` | `time_is_after`, `time_is_before`, `time_range` |\n\nTimestamp values use RFC3339 format.\n\n**Rate limit:** 120 requests per minute","operationId":"SearchCallRecordings","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchCallRecordingsRequest"}}}},"responses":{"200":{"$ref":"#/components/responses/SearchCallRecordingsResponse"},"400":{"$ref":"#/components/responses/BadRequestApiResponse"},"401":{"$ref":"#/components/responses/UnauthorizedApiResponse"},"403":{"$ref":"#/components/responses/ForbiddenApiResponse"},"429":{"$ref":"#/components/responses/TooManyRequestsApiResponse"},"500":{"$ref":"#/components/responses/InternalServerErrorApiResponse"}},"summary":"Search for call recordings by a given filter","tags":["call-recordings"]}}}}
```

## Delete a call recording

> Permanently deletes a call recording by its Pylon ID.\
> \
> \*\*Rate limit:\*\* 120 requests per minute

```json
{"openapi":"3.0.3","info":{"title":"Pylon API.","version":"1.0.0"},"tags":[],"servers":[{"description":"US region","url":"https://api.usepylon.com"},{"description":"EU region","url":"https://api.eu.usepylon.com"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"description":"Authorization: Bearer <token>","scheme":"bearer","type":"http"}},"responses":{"DeleteCallRecordingResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteCallRecordingResponseBody"}}},"description":""},"BadRequestApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request was invalid or could not be completed."},"UnauthorizedApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request could not be authenticated for this API."},"ForbiddenApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The authenticated caller or organization is not allowed to access this endpoint or operation."},"ErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":""},"TooManyRequestsApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request exceeded the applicable rate limit.","headers":{"Retry-After":{"description":"Seconds until the next request to this endpoint is permitted.","schema":{"format":"int64","type":"integer"}},"X-Retry-After":{"description":"Seconds until the full per-minute allowance is restored. Capacity returns gradually before then.","schema":{"format":"int64","type":"integer"}}}},"InternalServerErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"An unexpected internal error occurred."}},"schemas":{"DeleteCallRecordingResponseBody":{"properties":{"request_id":{"description":"The request ID for tracking.","type":"string"}},"required":["request_id"],"type":"object"},"ErrorApiResponseBody":{"properties":{"code":{"description":"A stable machine-readable identifier for this failure, safe to branch on\ninstead of the message text. Omitted when the failure has no assigned code.\n\nKnown values: `recipients_suppressed`, `email_bounced`, `internal_issue_reply_not_allowed`, `duplicate_object`, `invalid_authorization_header`, `invalid_api_token`, `invalid_oauth_token`, `wrong_region_token`, `organization_deactivated`, `organization_suspended`, `permission_denied`, `oauth_not_permitted`, `rate_limited`, `not_found`, `method_not_allowed`, `payload_too_large`, `invalid_request_body`, `internal_error`, `invalid_webhook_credentials`, `organization_inactive`. This list is not exhaustive.","type":"string"},"errors":{"description":"The list of errors.","items":{"type":"string"},"type":"array"},"exists_id":{"description":"The ID of the object that already exists if this is a duplicate object error.","type":"string"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"required":["request_id"],"type":"object"}}},"paths":{"/call-recordings/{id}":{"delete":{"description":"Permanently deletes a call recording by its Pylon ID.\n\n**Rate limit:** 120 requests per minute","operationId":"DeleteCallRecording","parameters":[{"description":"The Pylon ID of the call recording to delete.","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/DeleteCallRecordingResponse"},"400":{"$ref":"#/components/responses/BadRequestApiResponse"},"401":{"$ref":"#/components/responses/UnauthorizedApiResponse"},"403":{"$ref":"#/components/responses/ForbiddenApiResponse"},"404":{"$ref":"#/components/responses/ErrorApiResponse"},"429":{"$ref":"#/components/responses/TooManyRequestsApiResponse"},"500":{"$ref":"#/components/responses/InternalServerErrorApiResponse"}},"summary":"Delete a call recording","tags":["call-recordings"]}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.usepylon.com/pylon-docs/developer/api/api-reference/call-recordings.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
