Skip to main content
GET
/
v1
/
origins
cURL
curl --request GET \
  --url https://api.goevery.co/v1/origins \
  --header 'Authorization: Bearer <token>'
{
  "origins": [
    {
      "name": "origins/66343b5ac38abe08414dc303",
      "location": "locations/CO-54003000",
      "address": {
        "regionCode": "CO",
        "administrativeArea": "Antioquia",
        "locality": "Abejorral",
        "addressLines": [
          "Calle 123",
          "Apto 2"
        ],
        "organization": "Happeett"
      }
    }
  ],
  "nextPageToken": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

pageSize
number | null

The maximum number of origins to return. Defaults to 100 if not specified. Must be a positive number and not exceed 1000.

Required range: x <= 1000
Example:

100

pageToken
string | null

A token to retrieve the next page of results. Used for pagination.

Response

200 - application/json

Successfully retrieved list of locations.

origins
object[]
required

An array of origins.

nextPageToken
string | null

A token to retrieve the next page of results, if any.