Become a Teacher
Developing
POST
/profiles/teachers
For guidance on using the client secret, refer to:
https://docs.stripe.com/connect/custom/hosted-onboarding
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.aladia.io/v2/profiles/teachers?limit=50&next=&prev=&sortBy=&sortDirection=asc&query=' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"country": "Pakistan"
}'
Response Response Example
201 - Success
{
"ownerId": "6664875f427d21851ad83798",
"onboardUrl": "https://gloomy-detainee.com",
"expiresAt": -22033571.380516425
}
Request
Query Params
limit
integerย
optional
Default:
50
next
stringย
optional
prev
stringย
optional
sortBy
stringย
optional
sortDirection
enum<string>ย
optional
Allowed values:
ascdesc
Default:
asc
query
stringย
optional
Header Params
apikey
stringย
optional
Example:
{{apikey}}
Body Params application/json
Responses
Modified atย 2025-04-09 13:03:28