# Request Format & Responses

## Base URLs

* SANDBOX BASE URL: [https://delivery-staging.apiideraos.com/api/v2/token](https://delivery-staging.apiideraos.com/api/v2/token/user/myprofile)
* PRODUCTION BASE URL: [https://delivery.apiideraos.com/api/v2/token](https://delivery-staging.apiideraos.com/api/v2/token/user/myprofile)

### Request Header

Shiip uses Bearer Authentication to securely authenticate API requests. To authorize your requests, you need to include an `Authorization` header in every API call. The header should follow this format:

`Authorization: Bearer <API_KEY>`

Here, `<API_KEY>` is your unique secret key, which is required for each request to validate your access. This token must be kept secure, as it grants access to your account's API functionality. Without the correct Bearer token in the header, requests to the API will be denied.

### Response Sample

Our JSON responses adhere to a consistent format, which includes the following fields:

* **status**: Indicates the overall success(true) or failure(false) of the request.&#x20;
* **message**: Provides a descriptive message or error details relevant to the request.
* **data**: Contains the main content or payload of the response, which varies based on the API endpoint.
* **status\_code**: Represents the HTTP status code associated with the response, reflecting the outcome of the request.

This structured format ensures that responses are uniform and easily interpretable, facilitating effective error handling and data processing.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.goshiip.com/getting-started/request-formats-responses.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
