Authentication

Bearer token

Bearer tokens can be created from Settings > My account in tracezilla.

Replace example-company and {yourBearerToken} including the curly brackets.

1
2
3
4
curl -X 'GET' \
  'https://app.tracezilla.com/api/v1/example-company/invoices?booked_status%5Beq%5D=pending' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer {yourBearerToken}'

Client credentials

Todo.

X-CSRF-TOKEN

An X-CSRF-TOKEN is automatically supplied as a header if you’re using the Swagger API documentation to make requests from your browser as a Power Pack supporter.

1
2
3
4
curl -X 'GET' \
  'https://app.tracezilla.com/api/v1/example-company/invoices?booked_status%5Beq%5D=pending' \
  -H 'accept: application/json' \
  -H 'X-CSRF-TOKEN: {yourCsrfToken}'