Retrieve a list of a user's calls

GET https://api-{{APP_ID}}.calls.sendbird.com/v1/users/{user_id}/calls

Retrieve a list of a user's calls

Retrieves all the calls that a specific user has made.

For more information, visit:

https://sendbird.com/docs/calls/v1/platform-api/guides/user#2-retrieve-a-list-of-a-user-s-calls

URL Parameters

Required
  • user_id
    • Type: string
    • Description: Specifies the unique ID of the target user.

Request Params

KeyDatatypeRequiredDescription
limitstringOPTIONAL: Specifies the number of results to return per page. Acceptable values are 1 to 100, inclusive. (Default: 10)
nextstringOPTIONAL: Specifies the value of the next property in the response to retrieve the next page in the result set.
typestringOPTIONAL: Restricts the search scope to only retrieve calls of which type matches the specified value. Acceptable value is currently limited to direct only.
rolestringOPTIONAL: Restricts the search scope to only retrieve calls that the users role matches the specified value. Acceptable values are limited to dc_caller and dc_callee.
start_tsstringOPTIONAL: Restricts the search scope to only retrieve calls which have been started after the specified time in Unix seconds format.
end_tsstringOPTIONAL: Restricts the search scope to only retrieve calls which have been ended before the specified time in Unix seconds format.
end_resultstringOPTIONAL: Specifies a comma-seperated string of one or more end results to only retrieve calls of which the end result that matches any of the specified values. Acceptable values are limited to no_answer, canceled, declined, completed, timed_out, connection_lost, and unknown.

HEADERS

KeyDatatypeRequiredDescription
Api-Tokenstring