Policy management
Endpoints
Method
Endpoint
Get the data of all the policies
Headers
Name
Type
Description
Query Params
Name
Type
Description
Example Response
{
"data": [
{
"id": "05f159b4-6f70-46ce-b2e7-1ab911fdddf2",
"version": 3,
"channel_id": "fc94d4a1-f834-481d-a6b2-138b823389c8",
"holder_id": "d9a63a37-80a8-4963-b171-c0a92b90c44c",
"uid": "testing_subscriptions",
"max_rescission_window": null,
"policy_number": "testing_subscriptions",
"coverages": {
"Gastos médicos por accidente": [
{
"id": "b3e3a1d8-954a-4c60-a0b9-b6f91f7c55cb",
"insurer": {},
"variant": {
"id": "b3e3a1d8-954a-4c60-a0b9-b6f91f7c55cb",
"name": "Gastos médicos por accidente hasta 1500",
"claim_schema": {}
}
}
]
},
"metadata": {},
"attachments": [
"https://bkrxyxqcthcbzmhwwzef.supabase.co/storage/v1/object/public/policies/fc94d4a1-f834-481d-a6b2-138b823389c8/testing_subscriptions/Screenshot%20from%202024-08-08%2011-00-48.jpg"
],
"features": []
}
]
}Attributes
Name
Type
Description
Get the data of all the packages
Headers
Name
Type
Description
Query Params
Name
Type
Description
Example Response
Attributes
Name
Type
Description
Get the data of a variant
Headers
Name
Type
Description
Path Parameters
Name
Type
Description
Example Response
Attributes
Name
Type
Description
Get the data of all the variants
Headers
Name
Type
Description
Name
Type
Description
Example Response
Attributes
Name
Type
Description
Get the data of a coverage
Headers
Name
Type
Description
Path Parameters
Name
Type
Description
Example Response
Attributes
Name
Type
Description
Get the data of all the coverages
Headers
Name
Type
Description
Name
Type
Description
Example Response
Name
Type
Description
Last updated