Retrieving job templates using the Okappy API
To retrieve your job templates using the Okappy API, follow the instructions below
Authentication
First you will need to get an up to date authentication token. For further information see authenticating with Okappy.
Retrieving your job templates
Retrieve your job templates using the following endpoint.
GET /jobs/templates
Headers
| Header | Content |
|---|---|
| Authorize | Bearer token |
The token should be a string taken from the “access_token” field of a response to an authorise request.
Parameters
No parameters
Responses
| Code | Description |
|---|---|
| 200 | Operation successful |
| 204 | No data returned |
| 400 | Bad request |
| 401 | Unauthorised |
| 415 | Data sent in wrong format (should be JSON) |
| 429 | Too many requests in a short period of time (please try again later) |