GET user/…/contract

Retrieves the details of a user's contract.

⚠️ Internal use only

This is for internal use only!

Resource URL

https://www.drillster.com/api/2/user/{user_id}/contract

Parameters

Field Description
user_id
required
The user ID of the user to retrieve details for. As a reference to the own user account, the value self may also be used.

Example value: 7OuHq-RcQO_snGWR58TnBw

Response

A 2.0 Contract object with the details of a user's contract.

Error responses

The following error situations are possible:

ID Response code Description
not_permitted 403 (Forbidden) Caller does not have access to given account.
not_found 404 (Not found) Requested account not found.