Introduction
The following documentation provides guidance on how to interact with version 3 of the Gophr Commercial API.
Gophr's Commercial API is based around REST and defines three resources:
- Jobs
- Deliveries
- Parcels
The API supports single pickup, multi drop deliveries. Once you've requested an API Key you can start using it. To try it, check out our pre-configured Postman Collection or send requests directly from our API Specification
API Versions
This documentation is for version 3, which every new API integration uses. Its base path is /v3-commercial-api (see Environments).
Each API integration belongs to one version of the API, and its API keys only work with that version's base URL. Using a key with another version's base URL returns 403 with the error code API_VERSION_MISMATCH.
If you have an older version 2 integration, choose v2.0 from the version menu at the top of the page. Version 2 has the same endpoints, requests and responses. The differences are that version 3 webhooks are signed and never contain your API key, and that keys on version 2 integrations can only be disabled, not deleted.
API Conventions
The following is a list of conventions followed by our API:
- It makes use of standard HTTP methods like GET, POST, PATCH and DELETE.
- Uses standard HTTP status codes to describe errors.
- Authentication is done via API-Key.
- Webhooks are signed (see Webhook Signature Verification).
- All requests must be sent via SSL (https://).
- POST / PATCH data must be encoded as application/json.
- Responses are encoded as application/json.
Updated about 3 hours ago
