Companies
Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.
Example of authenticated request
$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
The ID of the company in your system
internal_referenceCompany name
Transporteur ACompany created successfully
Unique identifier for the company
baf04a1f-bdef-4372-95d3-48ffaf2ced3cThe ID of the company in your system
internal_referenceCompany name
Transporteur ABad request - invalid input. Structural validation errors are returned as a single non_field_errors umbrella with code: ["invalid_input"] and one detail entry per offending field, formatted as "<dotted-loc>: <message>" (e.g. "address.city: Field required"). The company_remote_id_conflict semantic error keeps its own named code.
Last updated
Was this helpful?