OBAPI OBAPI

Contacts

Contact persons associated with the provider.

List contacts

  • Method: GET /obapi/v1/contacts
  • Headers: Authorization: Bearer {apikey}
Parameter Type Required Description
page integer no Page number (default: 1)
per_page integer no Items per page (default: 50, max: 200)

Get a single contact

  • Method: GET /obapi/v1/contacts/{id}

Response

{
    "items": [
        {
            "id": "15",
            "civility": "MR",
            "lastname": "Dupont",
            "firstname": "Jean",
            "address": "10 rue de la Paix",
            "zip": "75002",
            "city": "Paris",
            "state": "Ile-de-France",
            "country": "FR",
            "phone": "+33140000000",
            "mobile": "+33612345678",
            "email": "jean.dupont@example.com",
            "public_note": ""
        }
    ],
    "pagination": {
        "page": 1,
        "per_page": 50,
        "total_items": 12,
        "total_pages": 1
    }
}