Step 0: Authorization
POST https://test.api.amadeus.com/v1/security/oauth2/token
To request an access token you need to send a POST request with the following body parameters to the authorization server:
- grant_type
with the value client_credentials
- client_id
with your API Key.
- client_secret
with your API Secret.
Request Body
[{"name"=>"client_id", "value"=>"{{client_id}}", "datatype"=>"string"}, {"name"=>"client_secret", "value"=>"{{client_secret}}", "datatype"=>"string"}, {"name"=>"grant_type", "value"=>"client_credentials", "datatype"=>"string"}]