Limit query parameter

The limit parameter restricts the number of entries returned.

This example uses the limit query parameter so that the command returns only the first two of the user's contacts.

me/contacts?limit=2

You can use this parameter with the Offset query parameter to select specific entries within a collection.

Note

In the JavaScript Object Notation (JSON)-formatted object that's returned, you can look in the paging object for the previous and next structures to get the offset and limit parameter values of the previous and next entries.

See also

REST reference