GET/programs

List programs

Lists programs that define the compliance and commercial terms for accounts. Use cursor to continue from a previous page and limit to control the number of programs returned. The response includes a next_cursor when another page is available.

2 parameters
cursorstringoptional
Returns the page of programs after this cursor.
limitintegeroptional
Maximum number of programs to return. Must be at least 1 and defaults to 100 when omitted.
Default:100

3 status codes
200Returns a list response containing program objects in `data` and a `next_cursor` value for retrieving the next page, or null when there are no more results.
dataarray<Program>required
The contents of the list.
next_cursorstringrequired
A pointer to a place in the list. Pass this as the `cursor` parameter to retrieve the next page of results. If there are no more results, the value will be `null`.
4XXReturned when the request cannot be processed because of a client error.
5XXReturned when the server encounters an error processing the request.

Error handling

limit must be at least 1 and cannot exceed 100; it defaults to 100 when omitted. Use the cursor value from a previous response's next_cursor to continue listing results.