Get a single person or a list of people
Use this method with a unique person identifier to get a single person. Skip the identifier to return all people or use the filter parameter to return a list of people matching your specific conditions.
Request
- Base URLhttps://api.infobip.com (the document declares no server; this is the origin it was published from)
- Auth
- HTTP basic
- or API key in header Authorization
- or API key in header Authorization
- or OAuth 2Client credentialsToken URL: https://api.infobip.com/auth/1/oauth2/token
Query parameters
Person ID. ID type must match the type parameter. Some channels (e,g., Apple Business Chat) use identifiers that contain unsafe characters. Make sure you URL-encode them in your API request
Sender or application ID. sender is required for all identifier types except ID, EXTERNAL_ID, PHONE, EMAIL
Type of the person ID
Number of persons to return per page. Default - 20. Maximum - 1000.
Page of results to return. Default - 1.
Returns total count of persons, if set to true.
Results ordering. Possible ordering fields are firstName, lastName, createdAt and modifiedAt. Ordering direction can be specified with modifiers asc for the ascending ordering or desc for the descending one.
Allows to filter persons using simple queries. Just pass to the parameter URL encoded query.
List of supported logical operators:
<table> <thead> <th>Logical Operator</th><th>Description</th> </thead> <tr> <td><code>#and</code></td><td>Joins query clauses with a logical AND returns all records that match the conditions of both clauses.</td> </tr> <tr> <td><code>#or</code></td><td>Joins query clauses with a logical OR returns all records that match the conditions of either clause.</td> </tr> </table>List of supported comparison operators:
<table> <thead> <th>Comparison Operator</th><th>Supported Type</th><th>Description</th> </thead> <tr> <td><code>#eq</code></td><td>string, integer, decimal, date</td><td>Matches values that are equal to a specified value.</td> </tr> <tr> <td><code>#ne</code></td><td>string, integer, decimal, date</td><td>Matches all values that are not equal to a specified value.</td> </tr> <tr> <td><code>#contains</code></td><td>string</td><td>Matches the records that contain the specified value.</td> </tr> <tr> <td><code>#notContain</code></td><td>string</td><td>Matches the records that does not contain the specified value.</td> </tr> <tr> <td><code>#startsWith</code></td><td>string</td><td>Matches the records that start with a specified value.</td> </tr> <tr> <td><code>#endsWith</code></td><td>string</td><td>Matches the records that end with a specified value.</td> </tr> <tr> <td><code>#gt</code></td><td>integer, decimal, date</td><td>Matches values that are greater than a specified value.</td> </tr> <tr> <td><code>#lt</code></td><td>integer, decimal, date</td><td>Matches values that are less than a specified value.</td> </tr> <tr> <td><code>#gte</code></td><td>integer, decimal, date</td><td>Matches values that are greater than or equal to a specified value.</td> </tr> <tr> <td><code>#lte</code></td><td>integer, decimal, date</td><td>Matches values that are less than or equal to a specified value.</td> </tr> </table>Response
successful response
Changes
No recorded changes to this operation across all 1 revision of this API.