PARTNER API
Build with presence and proof.
Approved partners can create requests, read milestones, and subscribe to signed operational events through a tenant-scoped API.
QUICK START
A predictable integration contract
Keep your API key server-side, send it as a bearer token, and use an idempotency key whenever you create a request. Every partner request is isolated to the business integration that issued the key.
curl -X POST https://api.tueorally.com/api/v1/partner/requests \
-H "Authorization: Bearer tueor_…" \
-H "Idempotency-Key: order-1001" \
-H "Content-Type: application/json" \
-d '{
"title": "Inspect a supplier",
"description": "Confirm stock and provide evidence.",
"category": "inspection",
"country_code": "NG",
"city": "Lagos",
"external_reference": "order-1001"
}'Core endpoints
/api/v1/partner/requestsCreate a request. Requires requests:create and an Idempotency-Key.
/api/v1/partner/requestsList only the requests owned by the authenticated integration.
/api/v1/partner/requests/{id}Read request details and ordered milestones with requests:read.
/api/v1/partner/webhooksCreate a signed event subscription with the explicit webhooks:manage scope.
/api/v1/partner/agentsList agents onboarded by your business integration with agents:manage.
/api/v1/partner/agentsOnboard an agent for review. The response includes a one-time temporary password.
/api/v1/partner/agents/{id}Update an owned agent's coverage, skills, or operational status.
/api/v1/disputesCustomer-authenticated list of the signed-in user's disputes.
/api/v1/requests/{id}/disputesOpen a dispute after field work reaches acceptance with a required reason.
SIGNED EVENTS
Know when work moves
Subscribe to request.created and receive JSON payloads with X-TUEOR-Event and X-TUEOR-Signature headers. Verify the signature with your one-time secret before processing the event. Failed deliveries are persisted and can be retried by operations.
signature = "sha256=" + HMAC_SHA256(raw_body, webhook_secret)DEVELOPER WORKSPACE
Test with Postman
- Create a Business API plan and integration in the admin console.
- Copy the generated
tueor_…bearer key once and store it in Postman aspartner_api_key. - Set
base_urlto your API host, import the endpoint examples above, and sendIdempotency-Keyon every request creation. - For webhooks, save the returned secret and verify the raw request body with HMAC SHA-256.
Authorization: Bearer {{partner_api_key}}
Idempotency-Key: {{external_reference}}