Download OpenAPI specification:
Institution-facing HTTP API for Accredifi integrators.
| grant_type required | string Value: "client_credentials" |
| client_id required | string |
| client_secret required | string |
| scope | string or null |
{- "token_type": "string",
- "expires_in": 0,
- "access_token": "string"
}{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "EMAIL",
- "status": "PENDING",
- "email": "user@example.com",
- "reference": "string",
- "token": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "access_expires_at": "2019-08-24T14:15:22Z",
- "used_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "scopes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string"
}
], - "institution": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
], - "links": { },
- "meta": { }
}| type required | string Enum: "EMAIL" "URL_ONE_TIME" |
| scopes required | Array of strings non-empty |
| reference | string or null <= 255 characters |
string or null <email> <= 255 characters | |
| verification_schedule | string or null <uuid> |
| verification_schedule_start | string or null <date-time> |
{- "type": "EMAIL",
- "scopes": [
- "string"
], - "reference": "string",
- "email": "user@example.com",
- "verification_schedule": "69334033-7b68-4e78-8c88-96fb51d577fb",
- "verification_schedule_start": "2019-08-24T14:15:22Z"
}{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "EMAIL",
- "status": "PENDING",
- "email": "user@example.com",
- "reference": "string",
- "token": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "access_expires_at": "2019-08-24T14:15:22Z",
- "used_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "scopes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string"
}
], - "institution": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}| access_request required | string <uuid> |
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "EMAIL",
- "status": "PENDING",
- "email": "user@example.com",
- "reference": "string",
- "token": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "access_expires_at": "2019-08-24T14:15:22Z",
- "used_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "scopes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string"
}
], - "institution": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}