Authentication Types
Retrieves a paginated list of supported authentication types.
Authorizations
AuthorizationstringRequired
API key passed in the Authorization header. Format: <api-key>
Query parameters
filter[hidden]stringOptional
Filter results by hidden.
sortstringOptional
Sort field. Prefix with - for descending. Available: name
pageinteger · min: 1OptionalDefault:
Page number for pagination.
1per_pageinteger · min: 1 · max: 100Optional
Number of results per page.
Responses
200
Successful response
application/json
401
Unauthenticated
403
Unauthorized
get/api/v1/patchworks/authentication-types
GET /api/v1/patchworks/authentication-types HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": 1,
"label": "My Label",
"colour": "blue",
"logo_url": "example_logo_url",
"version": 1,
"version_name": "example_version_name",
"rate_limit_unit": "second",
"rate_limit_duration": 1,
"system_type_id": 1,
"protocol": "HTTP",
"company_id": 1,
"date_format": "example_date_format",
"help_link": "example_help_link",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://api.example.com/api/v1/patchworks/authentication-types",
"per_page": 25,
"to": 1,
"total": 1
},
"links": {
"first": "https://api.example.com/api/v1/patchworks/authentication-types?page=1",
"last": "https://api.example.com/api/v1/patchworks/authentication-types?page=1",
"prev": null,
"next": null
}
}Retrieves the details of a specific authentication type.
Authorizations
AuthorizationstringRequired
API key passed in the Authorization header. Format: <api-key>
Path parameters
authentication_typestringRequired
The authentication type identifier.
Query parameters
filter[hidden]stringOptional
Filter results by hidden.
sortstringOptional
Sort field. Prefix with - for descending. Available: name
pageinteger · min: 1OptionalDefault:
Page number for pagination.
1per_pageinteger · min: 1 · max: 100Optional
Number of results per page.
Responses
200
Successful response
application/json
401
Unauthenticated
403
Unauthorized
get/api/v1/patchworks/authentication-types/{authentication_type}
GET /api/v1/patchworks/authentication-types/{authentication_type} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"id": 1,
"label": "My Label",
"colour": "blue",
"logo_url": "example_logo_url",
"version": 1,
"version_name": "example_version_name",
"rate_limit_unit": "second",
"rate_limit_duration": 1,
"system_type_id": 1,
"protocol": "HTTP",
"company_id": 1,
"date_format": "example_date_format",
"help_link": "example_help_link",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
}
}Last updated
Was this helpful?