Download OpenAPI specification:Download
External, organization-scoped API for Dimmi cases and documents. Authenticate with Authorization: Bearer dk_live_<key_id>.<secret>.
[- {
- "id": "string",
- "name": "string",
- "environment": "live",
- "display_key": "string",
- "scopes": [
- "cases:read"
], - "rate_limit_per_min": -2147483648,
- "last_used_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "revoked_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
]{- "id": "string",
- "name": "string",
- "environment": "string",
- "display_key": "string",
- "secret": "string",
- "full_token": "string",
- "scopes": [
- "string"
], - "rate_limit_per_min": 0,
- "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}[- {
- "id": "string",
- "events": [
- "case.created"
], - "description": "string",
- "active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]{- "id": "string",
- "events": null,
- "description": "string",
- "active": true,
- "secret": "string",
- "created_at": "2019-08-24T14:15:22Z"
}{- "id": "string",
- "events": [
- "case.created"
], - "description": "string",
- "active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "id": "string",
- "events": [
- "case.created"
], - "description": "string",
- "active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| webhook_id required | string <uuid> |
[- {
- "id": "string",
- "webhook_id": "string",
- "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",
- "event_type": "string",
- "status": "pending",
- "attempts": -2147483648,
- "response_code": -2147483648,
- "response_body_excerpt": "string",
- "error_message": "string",
- "next_retry_at": "2019-08-24T14:15:22Z",
- "delivered_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| cursor | string |
| host_country | string |
| journey_kind | string |
| page_size | integer |
| person_id | string |
{- "results": [
- {
- "id": "string",
- "object": "string",
- "journey_kind": "string",
- "home_country": "string",
- "host_country": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "applicant_email": "user@example.com",
- "person_id": "string",
- "case_ids": [
- null
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| assignment_id required | string |
{- "id": "string",
- "object": "string",
- "journey_kind": "string",
- "home_country": "string",
- "host_country": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "applicant_email": "user@example.com",
- "person_id": "string",
- "case_ids": [
- null
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| case_kind | string extension | family |
| category | string immigration | social_security | relocation |
| certificate_type | string a1 | s1 |
| cursor | string Pagination cursor. |
| external_reference | string Filter by your own ID for the case. |
| jurisdiction | string |
| lifecycle_stage | string |
| needs_attention | string |
| ongoing | string |
| page_size | integer Page size (max 100). |
| person_id | string |
| search | string |
| status | string Filter by status. One of: biometrics, draft, in_progress, permit_acquired, permit_expired, permit_expires_soon, processing, ready_to_submit, submitted |
| updated_since | string ISO-8601 timestamp; only cases updated since. |
{- "results": [
- {
- "id": "string",
- "object": "string",
- "status": "string",
- "type": "string",
- "jurisdiction": "string",
- "scheme_key": "string",
- "display_number": "string",
- "applicant": {
- "property1": null,
- "property2": null
}, - "person_id": "string",
- "company": {
- "property1": null,
- "property2": null
}, - "permit": {
- "property1": null,
- "property2": null
}, - "employment": {
- "property1": null,
- "property2": null
}, - "assignment_id": "string",
- "is_extension": true,
- "parent_case_id": "string",
- "linked_cases": [
- null
], - "assignment": {
- "property1": null,
- "property2": null
}, - "has_documents": true,
- "external_reference": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
{- "id": "string",
- "object": "string",
- "status": "string",
- "type": "string",
- "jurisdiction": "string",
- "scheme_key": "string",
- "display_number": "string",
- "applicant": {
- "property1": null,
- "property2": null
}, - "person_id": "string",
- "company": {
- "property1": null,
- "property2": null
}, - "permit": {
- "property1": null,
- "property2": null
}, - "employment": {
- "property1": null,
- "property2": null
}, - "assignment_id": "string",
- "is_extension": true,
- "parent_case_id": "string",
- "linked_cases": [
- null
], - "assignment": {
- "property1": null,
- "property2": null
}, - "has_documents": true,
- "external_reference": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| case_id required | string |
{- "id": "string",
- "object": "string",
- "status": "string",
- "type": "string",
- "jurisdiction": "string",
- "scheme_key": "string",
- "display_number": "string",
- "applicant": {
- "property1": null,
- "property2": null
}, - "person_id": "string",
- "company": {
- "property1": null,
- "property2": null
}, - "permit": {
- "property1": null,
- "property2": null
}, - "employment": {
- "property1": null,
- "property2": null
}, - "assignment_id": "string",
- "is_extension": true,
- "parent_case_id": "string",
- "linked_cases": [
- null
], - "assignment": {
- "property1": null,
- "property2": null
}, - "has_documents": true,
- "external_reference": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}POST /api/v1/cases/{id}/complete — finish start-case wizard / Policy approvals.
| case_id required | string |
{- "id": "string",
- "object": "string",
- "status": "string",
- "type": "string",
- "jurisdiction": "string",
- "scheme_key": "string",
- "display_number": "string",
- "applicant": {
- "property1": null,
- "property2": null
}, - "person_id": "string",
- "company": {
- "property1": null,
- "property2": null
}, - "permit": {
- "property1": null,
- "property2": null
}, - "employment": {
- "property1": null,
- "property2": null
}, - "assignment_id": "string",
- "is_extension": true,
- "parent_case_id": "string",
- "linked_cases": [
- null
], - "assignment": {
- "property1": null,
- "property2": null
}, - "has_documents": true,
- "external_reference": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| case_id required | string |
| cursor | string The pagination cursor value. |
| page_size | integer Number of results to return per page. |
{- "results": [
- {
- "id": "string",
- "object": "string",
- "case_id": "string",
- "type": "string",
- "file_name": "string",
- "mime_type": "string",
- "size_bytes": "string",
- "uploaded_at": "2019-08-24T14:15:22Z",
- "download_url": "string",
- "download_url_expires_at": "string"
}
]
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| case_id required | string |
{- "id": "string",
- "object": "string",
- "case_id": "string",
- "type": "string",
- "file_name": "string",
- "mime_type": "string",
- "size_bytes": "string",
- "uploaded_at": "2019-08-24T14:15:22Z",
- "download_url": "string",
- "download_url_expires_at": "string"
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| cursor | string |
| ongoing | string |
| page_size | integer |
| person_id | string |
| source | string employee_record or case |
| type | string a1 or s1 |
{- "results": [
- {
- "id": "string",
- "object": "string",
- "source": "string",
- "type": "string",
- "status": "string",
- "person_id": "string",
- "case_id": "string",
- "valid_from": "string",
- "valid_until": "string",
- "jurisdiction": "string",
- "has_document": true
}
]
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| certificate_id required | string |
{- "id": "string",
- "object": "string",
- "source": "string",
- "type": "string",
- "status": "string",
- "person_id": "string",
- "case_id": "string",
- "valid_from": "string",
- "valid_until": "string",
- "jurisdiction": "string",
- "has_document": true
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| document_id required | string |
{- "id": "string",
- "object": "string",
- "case_id": "string",
- "type": "string",
- "file_name": "string",
- "mime_type": "string",
- "size_bytes": "string",
- "uploaded_at": "2019-08-24T14:15:22Z",
- "download_url": "string",
- "download_url_expires_at": "string"
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| cursor | string |
| page_size | integer |
| search | string |
{- "results": [
- {
- "id": "string",
- "object": "string",
- "email": "string",
- "full_name": "string",
- "job_title": "string",
- "department": "string",
- "nationality": "string",
- "permit": {
- "property1": null,
- "property2": null
}, - "active_certificates": [
- null
], - "in_progress_cases": [
- null
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| person_id required | string |
{- "id": "string",
- "object": "string",
- "email": "string",
- "full_name": "string",
- "job_title": "string",
- "department": "string",
- "nationality": "string",
- "permit": {
- "property1": null,
- "property2": null
}, - "active_certificates": [
- null
], - "in_progress_cases": [
- null
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| cursor | string |
| jurisdiction | string |
| page_size | integer |
| person_id | string |
| search | string |
| status | string |
| valid_until_after | string |
| valid_until_before | string |
{- "results": [
- {
- "id": "string",
- "object": "string",
- "status": "string",
- "case_id": "string",
- "person_id": "string",
- "applicant": {
- "property1": null,
- "property2": null
}, - "jurisdiction": "string",
- "scheme_key": "string",
- "type": "string",
- "valid_from": "string",
- "valid_until": "string",
- "has_document": true,
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| permit_id required | string |
{- "id": "string",
- "object": "string",
- "status": "string",
- "case_id": "string",
- "person_id": "string",
- "applicant": {
- "property1": null,
- "property2": null
}, - "jurisdiction": "string",
- "scheme_key": "string",
- "type": "string",
- "valid_from": "string",
- "valid_until": "string",
- "has_document": true,
- "updated_at": "2019-08-24T14:15:22Z"
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
[- {
- "id": "string",
- "events": [
- "case.created"
], - "description": "string",
- "active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
{- "id": "string",
- "events": null,
- "description": "string",
- "active": true,
- "secret": "string",
- "created_at": "2019-08-24T14:15:22Z"
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| webhook_id required | string |
{- "id": "string",
- "events": [
- "case.created"
], - "description": "string",
- "active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Common base for /api/v1/* views: API-key auth, throttle, JSON-only error envelope.
| webhook_id required | string |
{- "id": "string",
- "events": [
- "case.created"
], - "description": "string",
- "active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}