Organization
Organizations represent the entities (such as schools, companies, or institutions) under which certificates and templates are managed. Each organization record contains essential details like the organization’s name, contact information, and website.
These endpoints allow you to create, fetch, list, and delete organizations associated with your account.
Authentication
All requests must include your API key in the request headers:
x-api-key(required) – Your unique API key from the Akowe dashboard.
Create Organization
Endpoint:
POST /api/profile/organization
Description:
Creates a new organization with details such as name, email, website, and phone number.
Sample Request:
curl --location '{{baseurl}}/api/profile/organization' \
--header 'x-api-key: <your-api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Akowe",
"website": "https://akowe.app",
"email": "[email protected]",
"phone":"080123456789",
"logo": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAe"
}'
Sample Response:
Get Organization
Endpoint:
Description:
Fetches details of a specific organization by its unique ID.
Sample Request:
Sample Response:
Get Organizations
Endpoint:
Description:
Retrieves a list of all organizations linked to your account or sub-account.
Sample Request:
Sample Response:
Delete Organization
Endpoint:
Description:
Deletes a specific organization by its unique ID.
Sample Request:
Sample Response:
live-4ddc3c34-c47d-423a-a49b-0dbc3dac75a1-0-2d45cc19-2241-42ed-8e97-0eb8486c93c7Successful response
GET /profile/organization HTTP/1.1
Host: {{baseurl}}
Accept: */*
Successful response
live-4ddc3c34-c47d-423a-a49b-0dbc3dac75a1-0-2d45cc19-2241-42ed-8e97-0eb8486c93c7{"name":"Akowe","website":"https://akowe.app","email":"[email protected]","phone":"080123456789","logo":""}Successful response
POST /profile/organization HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 107
{
"name": "Akowe",
"website": "https://akowe.app",
"email": "[email protected]",
"phone": "080123456789",
"logo": ""
}Successful response
live-4ddc3c34-c47d-423a-a49b-0dbc3dac75a1-0-2d45cc19-2241-42ed-8e97-0eb8486c93c7Successful response
DELETE /profile/organization/b2bf6b4e-bb07-45ab-b5d0-c43544d2d107 HTTP/1.1
Host: {{baseurl}}
Accept: */*
Successful response
live-4ddc3c34-c47d-423a-a49b-0dbc3dac75a1-0-2d45cc19-2241-42ed-8e97-0eb8486c93c7Successful response
GET /profile/organization/19ac76e7-8638-487c-861f-6565351b2f10 HTTP/1.1
Host: {{baseurl}}
Accept: */*
Successful response
Last updated