Registration requests
| Name | Description |
|---|---|
| token | token |
| registration_request[organization][name] | Registration request[organization] name |
| registration_request[organization][description] | Registration request[organization] description |
| registration_request[organization][phone] | Registration request[organization] phone |
| registration_request[organization][address] | Registration request[organization] address |
| registration_request[organization][local_entity] | Registration request[organization] local entity |
| registration_request[organization][email] | Registration request[organization] email |
| registration_request[organization][website_url] | Registration request[organization] website url |
| registration_request[organization][logo_key] | Registration request[organization] logo key |
| registration_request[user][first_name] | Registration request[user] first name |
| registration_request[user][last_name] | Registration request[user] last name |
| registration_request[user][email] | Registration request[user] email |
| registration_request[user][phone] | Registration request[user] phone |
Content-Type: application/json Host: example.org Cookie:
POST /api/v1/registration_requests
{"token":"foobar129","registration_request":{"organization":{"name":"foo","local_entity":"bar","address":"2, rue de l'Église","phone":"+33612345678","email":"some@email.com","website_url":"http://foobar.com","description":"lorem ipsum","logo_key":"some_key.jpg"},"user":{"first_name":"John","last_name":"Doe","phone":"+33612345678","email":"some@email.com"}}}
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET,POST,PUT,PATCH,DELETE Access-Control-Allow-Headers: Origin,Accept,Content-Type,X-Requested-With,X-CSRF-Token,X-API-KEY Content-Type: application/json; charset=utf-8 ETag: W/"94ab679ff11d71628a470befbd422b79" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 9ee82cda-0e5e-4853-b3ba-4955d2fb1894 X-Runtime: 0.026753 Content-Length: 466
201 Created
{
"registration_request": {
"id": 1,
"status": "pending",
"extra": {
"organization": {
"name": "foo",
"description": "lorem ipsum",
"phone": "+33612345678",
"address": "2, rue de l'Église",
"local_entity": "bar",
"email": "some@email.com",
"website_url": "http://foobar.com",
"logo_key": "some_key.jpg"
},
"user": {
"first_name": "John",
"last_name": "Doe",
"email": "some@email.com",
"phone": "+33612345678"
}
},
"created_at": "2022-06-02T17:16:45.744+02:00",
"updated_at": "2022-06-02T17:16:45.744+02:00"
}
}