List logs

GET

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

orgIdstringOptional

This is the unique identifier for the org that this log belongs to.

typeenumOptional

This is the type of the log.

Allowed values: APIWebhookCallProvider
assistantIdstringOptional

This is the ID of the assistant.

phoneNumberIdstringOptional

This is the ID of the phone number.

customerIdstringOptional

This is the ID of the customer.

squadIdstringOptional

This is the ID of the squad.

callIdstringOptional

This is the ID of the call.

pageintegerOptional

This is the page number to return. Defaults to 1.

sortOrder"ASC" or "DESC"Optional

This is the sort order for pagination. Defaults to ‘ASC’.

Allowed values: ASCDESC
limitdoubleOptional

This is the maximum number of items to return. Defaults to 100.

createdAtGtdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

This will return items where the createdAt is greater than the specified value.

createdAtLtdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

This will return items where the createdAt is less than the specified value.

createdAtGedatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

This will return items where the createdAt is greater than or equal to the specified value.

createdAtLedatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

This will return items where the createdAt is less than or equal to the specified value.

updatedAtGtdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

This will return items where the updatedAt is greater than the specified value.

updatedAtLtdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

This will return items where the updatedAt is less than the specified value.

updatedAtGedatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

This will return items where the updatedAt is greater than or equal to the specified value.

updatedAtLedatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

This will return items where the updatedAt is less than or equal to the specified value.

Response

resultslist of objects
metadataobject